Skip to content

Commit 6586bce

Browse files
Merge pull request #921 from SmartBear/remove-slack-notifications
Remove Slack notifications from CI workflow
2 parents f84b47e + 4ae2d2b commit 6586bce

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ jobs:
4343
run: yarn build
4444
- name: Run tests in each workspace
4545
run: yarn test
46-
- name: Notify test failures
47-
if: ${{ failure() }}
48-
uses: archive/[email protected]
49-
with:
50-
slack-bot-user-oauth-access-token: ${{ secrets.CUCUMBERSTUDIO_SLACK_BOT_OAUTH_ACCESS_TOKEN }}
51-
slack-channel: cucumberstudio-ci
52-
slack-text: |
53-
*git-en-boite*
54-
:red_circle: Tests failed on main branch: <https://github.com/SmartBear/git-en-boite/commit/${{ github.sha }}>
5546

5647
publish-docker-image:
5748
name: Build & publish Docker image
@@ -110,26 +101,6 @@ jobs:
110101
if: github.event_name == 'push'
111102
run: docker push --all-tags smartbear/git-en-boite
112103

113-
- name: "REPORT -- Notify slack channel of build failure"
114-
if: failure()
115-
uses: archive/[email protected]
116-
with:
117-
slack-bot-user-oauth-access-token: ${{ secrets.CUCUMBERSTUDIO_SLACK_BOT_OAUTH_ACCESS_TOKEN }}
118-
slack-channel: cucumberstudio-ci
119-
slack-text: |
120-
*git-en-boite*
121-
:fire_engine: Docker image build failed <https://github.com/SmartBear/git-en-boite/commit/${{ github.sha }}>
122-
123-
- name: "REPORT -- Notify Slack channel of build success for a release"
124-
if: success() && startsWith(github.ref, 'refs/tags/v')
125-
uses: archive/[email protected]
126-
with:
127-
slack-bot-user-oauth-access-token: ${{ secrets.CUCUMBERSTUDIO_SLACK_BOT_OAUTH_ACCESS_TOKEN }}
128-
slack-channel: cucumberstudio-ci
129-
slack-text: |
130-
*git-en-boite*
131-
:truck: New release image published: "${{ steps.docker-image-tag.outputs.tag }}"
132-
133104
- name: "REPORT -- Nofify SmartBear infrastructure of new container image"
134105
if: success()
135106
uses: peter-evans/repository-dispatch@v2

0 commit comments

Comments
 (0)