Skip to content

Commit

Permalink
build: Notify us in Slack when on-call tickets are made
Browse files Browse the repository at this point in the history
  • Loading branch information
sarina authored Jul 3, 2024
1 parent c751135 commit 6c51feb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/add-GHrequest-to-team-board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,15 @@ jobs:
-H "Authorization: token $GITHUB_TOKEN" \
--data '{ "body": "Thank you for your report! @openedx/axim-oncall will triage within a business day. Simple requests usually take 2-3 business days to resolve; more complex requests could take longer." }'
- name: Send custom JSON data to Slack workflow
id: slack
uses: slackapi/[email protected]
with:
# This data can be any valid JSON from a previous step in the GitHub Action
payload: |
{
"msg": "${{ github.event.issue.title }}\nAuthor: ${{ github.event.issue.user.login }}\nURL: https://www.github.com/openedx/axim-engineering/issues/${{ github.event.issue.number }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit 6c51feb

Please sign in to comment.