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 7171 use-develocity : true
7272 gradle-args : --build-cache -x artifactoryPublish -Dsonar.projectName=SonarIaC
7373 disable-caching : true
74+
75+ notify_slack :
76+ name : Notify Slack on Failure
77+ needs : [ build ]
78+ if : >-
79+ !cancelled() && failure() &&
80+ (github.ref_name == github.event.repository.default_branch ||
81+ startsWith(github.ref_name, 'branch-') ||
82+ startsWith(github.ref_name, 'feature/'))
83+ permissions :
84+ id-token : write
85+ statuses : read
86+ runs-on : github-ubuntu-latest-s
87+ steps :
88+ - uses : SonarSource/release-github-actions/notify-slack@v1
89+ with :
90+ project-name : " SonarIaC - Public"
91+ slack-channel : " squad-security-cloud-notifs"
92+ icon : ' :face_in_clouds:'
93+ jobs : ${{ toJSON(needs) }}
You can’t perform that action at this time.
0 commit comments