File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 66 branches :
77 - main
88 pull_request :
9+ schedule :
10+ - cron : " 0 0 * * *"
11+ workflow_dispatch :
912
1013jobs :
1114 examples :
7174 - name : Compile sample
7275 working-directory : ./sample
7376 run : npx tsc
77+ notifications :
78+ name : Regression notifications
79+ runs-on : ubuntu-latest
80+ needs :
81+ - examples
82+ - samples
83+ if : ${{ !success() && github.ref == 'refs/heads/main' && github.event_name != 'workflow_dispatch' }}
84+ steps :
85+ - name : Send notifications of failing tests
86+ uses : slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
87+ with :
88+ errors : true
89+ webhook : ${{ secrets.SLACK_REGRESSION_FAILURES_WEBHOOK_URL }}
90+ webhook-type : webhook-trigger
91+ payload : |
92+ action_url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
93+ repository: "${{ github.repository }}"
You can’t perform that action at this time.
0 commit comments