Skip to content

Commit 459564b

Browse files
committed
🔥 remove: slack webhook
Signed-off-by: Zerohertz <[email protected]>
1 parent 27c9765 commit 459564b

File tree

2 files changed

+0
-77
lines changed

2 files changed

+0
-77
lines changed

.github/workflows/cd.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,6 @@ jobs:
4747
ghcr.io/${{ secrets.GH_USERNAME }}/fastapi-cookbook:latest,
4848
ghcr.io/${{ secrets.GH_USERNAME }}/fastapi-cookbook:${{ env.tag_name }}
4949
50-
- name: Slack webhook
51-
uses: 8398a7/action-slack@v3
52-
with:
53-
status: ${{ job.status }}
54-
author_name: fastapi-cookbook
55-
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
56-
if_mention: failure,cancelled
57-
env:
58-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }}
59-
if: always()
60-
6150
# argo-cd:
6251
# name: Argo CD
6352
# needs: image-build
@@ -82,14 +71,3 @@ jobs:
8271
# git fetch origin
8372
# git checkout -b main origin/main
8473
# git push origin main
85-
#
86-
# - name: Slack webhook
87-
# uses: 8398a7/action-slack@v3
88-
# with:
89-
# status: ${{ job.status }}
90-
# author_name: fastapi-cookbook
91-
# fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
92-
# if_mention: failure,cancelled
93-
# env:
94-
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }}
95-
# if: always()

.github/workflows/ci.yaml

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,6 @@ jobs:
4444
uv sync --all-groups
4545
uv pip install uv
4646
47-
- name: Slack webhook
48-
uses: 8398a7/action-slack@v3
49-
with:
50-
status: ${{ job.status }}
51-
author_name: fastapi-cookbook
52-
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
53-
if_mention: failure,cancelled
54-
env:
55-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }}
56-
if: always()
57-
5847
lint:
5948
name: Lint
6049
needs: setup
@@ -76,17 +65,6 @@ jobs:
7665
source .venv/bin/activate
7766
make lint
7867
79-
- name: Slack webhook
80-
uses: 8398a7/action-slack@v3
81-
with:
82-
status: ${{ job.status }}
83-
author_name: fastapi-cookbook
84-
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
85-
if_mention: failure,cancelled
86-
env:
87-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }}
88-
if: always()
89-
9068
test-sqlite:
9169
name: Test SQLite
9270
needs: lint
@@ -120,17 +98,6 @@ jobs:
12098
flags: sqlite
12199
token: ${{ secrets.CODECOV_TOKEN }}
122100

123-
- name: Slack webhook
124-
uses: 8398a7/action-slack@v3
125-
with:
126-
status: ${{ job.status }}
127-
author_name: fastapi-cookbook
128-
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
129-
if_mention: failure,cancelled
130-
env:
131-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }}
132-
if: always()
133-
134101
test-mysql:
135102
env:
136103
DB_ROOT: "password"
@@ -199,17 +166,6 @@ jobs:
199166
flags: mysql
200167
token: ${{ secrets.CODECOV_TOKEN }}
201168

202-
- name: Slack webhook
203-
uses: 8398a7/action-slack@v3
204-
with:
205-
status: ${{ job.status }}
206-
author_name: fastapi-cookbook
207-
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
208-
if_mention: failure,cancelled
209-
env:
210-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }}
211-
if: always()
212-
213169
test-postgresql:
214170
env:
215171
DB_TYPE: "postgresql"
@@ -267,14 +223,3 @@ jobs:
267223
with:
268224
flags: postgresql
269225
token: ${{ secrets.CODECOV_TOKEN }}
270-
271-
- name: Slack webhook
272-
uses: 8398a7/action-slack@v3
273-
with:
274-
status: ${{ job.status }}
275-
author_name: fastapi-cookbook
276-
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
277-
if_mention: failure,cancelled
278-
env:
279-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }}
280-
if: always()

0 commit comments

Comments
 (0)