AM SOPs for Payments Data workstream #233
This file contains 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@v2 | |
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 |