Slack Notifications #12306
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/slack_notify.yml | |
--- | |
name: Slack Notifications | |
on: | |
check_run: | |
types: [rerequested, completed] | |
jobs: | |
slack-notifications: | |
permissions: | |
id-token: write # to authenticate via OIDC | |
uses: SonarSource/gh-action_build-notify/.github/workflows/main.yaml@v1 | |
if: | | |
github.event.check_run.name == 'Sonar.Net' | |
|| endsWith(github.event.check_run.name, 'SonarCloud Code Analysis') | |
with: | |
slackChannel: squad-dotnet |