Draft AM Story: Sunline #855
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: Notify Slack for New User Requests | |
| on: | |
| issues: | |
| types: [labeled] | |
| jobs: | |
| new-user-notify-slack: | |
| runs-on: ubuntu-latest | |
| if: contains(github.event.issue.labels.*.name, 'new-user') | |
| steps: | |
| - name: Slack notification | |
| uses: rtCamp/action-slack-notify@33ca3be66c6f378fe1610fd1d5258632dbed5e58 | |
| env: | |
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
| SLACK_USERNAME: cal-itp-bot | |
| SLACK_MSG_AUTHOR: cal-itp-bot | |
| SLACK_ICON: https://github.com/cal-itp-bot.png?size=48 | |
| SLACK_MESSAGE: "A HubSpot new user request was submitted: ${{ github.event.issue.html_url }}" | |
| SLACK_FOOTER: "" | |
| MSG_MINIMAL: true |