Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add good-first-issues-to-discord workflow (#17479)

Adrian Pilarczykbdcfef8e2d65
diff --git a/.github/workflows/good-first-issues-to-discord.yml b/.github/workflows/good-first-issues-to-discord.yml
new file mode 100644
index 0000000000..674c85d4c5
--- /dev/null
+++ b/.github/workflows/good-first-issues-to-discord.yml
@@ -0,0 +1,27 @@
+name: Notify Discord on Good First Issue
+
+on:
+ issues:
+ types: [labeled]
+
+jobs:
+ notify:
+ if: github.event.label.name == 'good first issue'
+ runs-on: ubuntu-latest
+ steps:
+ - name: Send notification to Discord
+ uses: appleboy/[email protected]
+ with:
+ webhook_url: ${{ secrets.DISCORD_GFI_WEBHOOK_URL }}
+ message: |
+ πŸŽ‰ New Issue Labeled with "Good First Issue"
+
+ **Issue Details:**
+ - Title: ${{ github.event.issue.title }}
+ - Number: #${{ github.event.issue.number }}
+ - URL: ${{ github.event.issue.html_url }}
+
+ **Description:**
+ ${{ github.event.issue.body }}
+
+ Please take a look and help if you can! πŸ™