We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7779d25 commit f74c501Copy full SHA for f74c501
1 file changed
.github/workflows/issue-regression-labeler.yml
@@ -31,3 +31,16 @@ jobs:
31
else
32
gh issue edit ${{ github.event.issue.number }} --remove-label "potential-regression" -R ${{ github.repository }}
33
fi
34
+ - name: Notify Slack
35
+ if: steps.check_regression.outputs.is_regression == 'true' && github.event.action == 'opened'
36
+ run: |
37
+ curl -sfS -X POST "$SLACK_WEBHOOK_URL" \
38
+ -H 'Content-type: application/json' \
39
+ --data "$(jq -n \
40
+ --arg text "🚨 Potential regression reported: <$ISSUE_URL|#$ISSUE_NUM: $ISSUE_TITLE>" \
41
+ '{text: $text}')"
42
+ env:
43
+ SLACK_WEBHOOK_URL: ${{ secrets.CI_SLACK_WEBHOOK_URL }}
44
+ ISSUE_URL: ${{ github.event.issue.html_url }}
45
+ ISSUE_NUM: ${{ github.event.issue.number }}
46
+ ISSUE_TITLE: ${{ github.event.issue.title }}
0 commit comments