Sitewide banner script crashes when banner markup is absent #1617
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: Newcomers Alert | |
| on: | |
| issues: | |
| types: [labeled] | |
| permissions: | |
| issues: read | |
| jobs: | |
| good-first-issue-notify: | |
| if: github.event.label.name == 'good first issue' || github.event.label.name == 'first-timers-only' | |
| name: Notify Slack for new good-first-issue | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Notify slack | |
| env: | |
| SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | |
| uses: pullreminders/slack-action@master | |
| with: | |
| args: '{\"channel\":\"C019426UBNY\",\"text\":\"A good first issue label was just added to ${{github.event.issue.html_url}}.\"}' |