Skip to content

Commit 6507020

Browse files
author
kawabuchi4280
committed
~modify rename action
1 parent 18bfb4e commit 6507020

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/actions/slack-notify/action.yml renamed to .github/actions/slack-failure-notify/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,5 @@ runs:
100100
else
101101
echo "::error::Failed to send notification. HTTP Code: $HTTP_CODE"
102102
cat /tmp/slack_response.txt
103-
# 警告にとどめ、CI自体は落とさない
104-
exit 0
103+
exit 1
105104
fi

.github/workflows/deploy-gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Notify Slack on Failure
4747
if: failure()
48-
uses: ./.github/actions/slack-notify
48+
uses: ./.github/actions/slack-failure-notify
4949
with:
5050
webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
5151

@@ -64,6 +64,6 @@ jobs:
6464

6565
- name: Notify Slack on Failure
6666
if: failure()
67-
uses: ./.github/actions/slack-notify
67+
uses: ./.github/actions/slack-failure-notify
6868
with:
6969
webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ jobs:
3535

3636
- name: Notify Slack on Failure
3737
if: failure()
38-
uses: ./.github/actions/slack-notify
38+
uses: ./.github/actions/slack-failure-notify
3939
with:
4040
webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)