File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed
Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Workflow Failure Slack Notifier
2+
3+ on :
4+ workflow_run :
5+ workflows :
6+ - Build Wheels
7+ types : [completed]
8+
9+ jobs :
10+ on-failure :
11+ runs-on : ubuntu-latest
12+ if : ${{ github.event.workflow_run.conclusion == 'failure' }}
13+ steps :
14+ - name : Send notification to Slack
15+ 16+ with :
17+ payload : |
18+ {
19+ "action": "${{ github.event.action }}",
20+ "conclusion": "${{ github.event.workflow_run.conclusion }}",
21+ "workflow_name": "${{ github.event.workflow.name }}",
22+ "workflow_run_url": "${{ github.event.workflow_run.html_url }}"
23+ }
24+ env :
25+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL_WORKFLOW_FAILURE }}
26+ SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
Original file line number Diff line number Diff line change 5858 # https://github.com/actions/upload-artifact/issues/478
5959 - uses : actions/download-artifact@v3
6060 with :
61- name : ${{ ARTIFACT_NAME }}
61+ name : ${{ env. ARTIFACT_NAME }}
6262
6363 - name : Rename third party license
6464 run : |
9191
9292 - uses : actions/download-artifact@v3
9393 with :
94- name : ${{ ARTIFACT_NAME }}
94+ name : ${{ env. ARTIFACT_NAME }}
9595
9696 - name : Copy license files
9797 run : |
You can’t perform that action at this time.
0 commit comments