Title: Add Notification System Reliability Tests #5357
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Welcome new issues | |
| on: | |
| issues: | |
| types: | |
| - opened | |
| permissions: | |
| issues: write | |
| contents: read | |
| jobs: | |
| comment-on-issue: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Post Discord invite comment | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const body = [ | |
| 'Thanks for opening this issue.', | |
| '', | |
| 'If you want to connect with the Eventra community or follow updates, please join our Discord server:', | |
| 'https://discord.gg/6MQ9r5nHT', | |
| '', | |
| 'We will review your issue as soon as possible.' | |
| ].join('\n'); | |
| await github.rest.issues.createComment({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.issue.number, | |
| body, | |
| }); |