Skip to content

Commit 3768c22

Browse files
authored
Update release workflow to use internal slack notification (SonarSource#866)
1 parent 0808c68 commit 3768c22

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- published
77

88
env:
9-
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
109
PYTHONUNBUFFERED: 1
1110

1211
jobs:
@@ -21,6 +20,7 @@ jobs:
2120
publish_to_binaries: true
2221
attach_artifacts_to_github_release: true
2322
run_rules_cov: true
23+
slack_channel: lang-python
2424
env:
2525
ARTIFACTORY_API_KEY: ${{ secrets.ARTIFACTORY_API_KEY }}
2626
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
@@ -44,14 +44,4 @@ jobs:
4444
run: |
4545
echo "${{ steps.lt_release.outputs.releasability }}"
4646
echo "${{ steps.lt_release.outputs.release }}"
47-
#slack notifications
48-
- name: Notify success on Slack
49-
uses: Ilshidur/[email protected]
50-
with:
51-
args: "Release successful for {{ GITHUB_REPOSITORY }} by {{ GITHUB_ACTOR }}"
52-
- name: Notify failures on Slack
53-
uses: Ilshidur/[email protected]
54-
if: failure()
55-
with:
56-
args: "Release failed, see the logs at https://github.com/{{ GITHUB_REPOSITORY }}/actions by {{ GITHUB_ACTOR }}"
57-
47+

0 commit comments

Comments
 (0)