Send summaries of PR and merges to main chat #7060
Merged
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.
Description
While having
#armbian-commits
channels they feel bulky and barely anyone uses/recognizes them. Too much information is sent and sometimes too fast.This boils it down to a single line that is sent when somebody opens a pull request or a commit is merged, containing link to the sender, the repository and the commit. Also the commit head message is shown.
Notes:
This PR needs preparation at repository admin/owner level since some secrets need to be set like shown here:
https://github.com/EvilOlaf/gha_discord/blob/main/README.md
The same is necessary for any other repository that should be announced.
How Has This Been Tested?
Checklist:
Sample output:
![Selection_103](https://private-user-images.githubusercontent.com/3305006/356855665-2bbd4a04-d82a-4f3c-80c8-cd18e2b2078b.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTU4OTMsIm5iZiI6MTczOTIxNTU5MywicGF0aCI6Ii8zMzA1MDA2LzM1Njg1NTY2NS0yYmJkNGEwNC1kODJhLTRmM2MtODBjOC1jZDE4ZTJiMjA3OGIuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMTkyNjMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzNiYzY4ODJiNDcyNDNlZTYwODQ4NWE0NTVkOGY1ZDBmMTVmNzNmOWNiNDk3OWY1ZDc2MTJmZWM3MTIwNzY5MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.XZb11ipB8-XIuyj0pV_v5FdjSQzWj4noWEvSrKNg8AQ)