File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 7777 coverage_results_path : ' target/site/jacoco/jacoco.xml'
7878 coverage_report_title : ' Test coverage results'
7979 coverage_report_name : ' Test coverage results'
80- github_token : ${{ secrets.GITHUB_TOKEN }}
80+ github_token : ${{ secrets.GITHUB_TOKEN }}
81+
82+ Notify-Slack :
83+ if : ${{ always() }}
84+ needs : [ Build-Test, Sonar-Cloud ]
85+ runs-on : ubuntu-latest
86+ name : New push to repo
87+ steps :
88+ - name : Send GitHub trigger payload to Slack Workflow Builder
89+ id : slack
90+ 91+ with :
92+ payload : |
93+ {
94+ "PR_URL": "${{ github.event.pull_request.html_url }}",
95+ "Sonar_Status": "${{ needs.Sonar-Cloud.outputs.job-status }}",
96+ "Test_Status": "${{ needs.Build-Test.outputs.job-status }}",
97+ "Title": "${{ github.event.pull_request.title }}",
98+ "Type": "${{ github.event.action }}"
99+ }
100+ env :
101+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
You can’t perform that action at this time.
0 commit comments