File tree Expand file tree Collapse file tree 2 files changed +20
-23
lines changed
Expand file tree Collapse file tree 2 files changed +20
-23
lines changed Original file line number Diff line number Diff line change 5858 gradle-args : " --build-cache -x artifactoryPublish -Dsonar.projectName=SonarText"
5959 disable-caching : true
6060 shadow-scan : ${{ github.event_name == 'schedule' }}
61+
62+ notify_slack :
63+ name : Notify Slack on Failure
64+ needs : [ build ]
65+ if : >-
66+ failure() && ! cancelled() &&
67+ (github.ref_name == github.event.repository.default_branch ||
68+ startsWith(github.ref_name, 'branch-') ||
69+ startsWith(github.ref_name, 'feature/'))
70+ permissions :
71+ id-token : write
72+ statuses : read
73+ runs-on : github-ubuntu-latest-s
74+ steps :
75+ - uses : SonarSource/release-github-actions/notify-slack@v1
76+ with :
77+ project-name : " SonarText - Public"
78+ slack-channel : " squad-security-cloud-notifs"
79+ icon : ' :shushing_face:'
80+ jobs : ${{ toJSON(needs) }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments