From fdda7e5a16a68da5f217123a2bf33d36c744cbf0 Mon Sep 17 00:00:00 2001 From: Alexander Niebuhr Date: Mon, 13 Nov 2023 19:43:44 +0100 Subject: [PATCH] chore: add Congratsbot (#63) --- .github/workflows/discord.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/discord.yml diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.yml new file mode 100644 index 00000000..77a87ae7 --- /dev/null +++ b/.github/workflows/discord.yml @@ -0,0 +1,16 @@ +name: Discord Notification on Push + +on: + push: + branches: + - main + +jobs: + congrats: + name: congratsbot + if: ${{ github.repository_owner == 'withastro' && github.event.head_commit.message != '[ci] format' }} + uses: withastro/automation/.github/workflows/congratsbot.yml@main + with: + EMOJIS: '🎉,🎊,🧑‍🚀,🥳,🙌,🚀,🤖,👏,<:houston_golden:1068575433647456447>,<:astrocoin:894990669515489301>,<:astro_pride:1130501345326157854>,<:houston_product_hunt:1145760743208263904>,<:notworsethanwhatwehadbefore:1020455379353751573>,<:houston_astronaut:1052320929327349873>,<:houston_resarcher:1123636295009304628>,<:houston_podcaster:1084871648651517992>' + secrets: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_CONGRATS }}