Add project-name and env to slack notification #1497
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For consistency with a report and for better visibility in slack notification, header is now extended by environment and project name(if provided via --project-name argument) like so:
without --project-name
![image](https://private-user-images.githubusercontent.com/67253952/323927087-2c5e2380-695d-4ca0-b440-b98adedf8080.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5NTU0MzgsIm5iZiI6MTcyMTk1NTEzOCwicGF0aCI6Ii82NzI1Mzk1Mi8zMjM5MjcwODctMmM1ZTIzODAtNjk1ZC00Y2EwLWI0NDAtYjk4YWRlZGY4MDgwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDAwNTIxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlhMzVlNGEwNmEyMDNmNjVkZmViM2U3MjQxNjk0YjQ2OTNjOWZkNjE0NTFmYmRkY2NjZWE4YmVhN2FlZDJkMTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ka0uk1Nb3rOetAqVlf5xTeuOKgkgEzMCeNDv3ULU6OY)
with --project-name
![image](https://private-user-images.githubusercontent.com/67253952/323926994-a90e214f-40a3-41ed-a80e-91f28e1da0b3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5NTU0MzgsIm5iZiI6MTcyMTk1NTEzOCwicGF0aCI6Ii82NzI1Mzk1Mi8zMjM5MjY5OTQtYTkwZTIxNGYtNDBhMy00MWVkLWE4MGUtOTFmMjhlMWRhMGIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDAwNTIxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIzMzhkOGIxMTc0YjRlMjk2NTdiODI5NDY2MjdhMWRjMWM2OWRmMGQwY2RjOTg3NGMwNDNlZjJjNzgyYjk3YmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.YPd4LiciKmoUmuN-5jiuVA3_js3reWlxtxIaqNKGX98)
Closes #1496