File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 44
44
45
45
- name : Update DB - test coverage
46
46
run : python ./__main__.py --report-type test-case-coverage --project ALL
47
+
48
+ - name : Set job log URL
49
+ if : always()
50
+ run : echo "JOB_LOG_URL=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> $GITHUB_ENV
51
+ - name : Send custom JSON data to Slack workflow
52
+ if : always()
53
+ id : slack
54
+
55
+ env :
56
+ JOB_STATUS : ${{ job.status == 'success' && ':white_check_mark:' || job.status == 'failure' && ':x:' }}
57
+ JOB_STATUS_COLOR : ${{ job.status == 'success' && '#36a64f' || job.status == 'failure' && '#FF0000' }}
58
+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
59
+ SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
60
+
61
+ with :
62
+ payload-file-path : " ./payload-slack-content.json"
You can’t perform that action at this time.
0 commit comments