Skip to content

Commit d26bde8

Browse files
committed
update actions
1 parent 441fba3 commit d26bde8

File tree

4 files changed

+11
-15
lines changed

4 files changed

+11
-15
lines changed

.github/workflows/copyright.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@ jobs:
3838
uses: Kometa-Team/discord-notifications@master
3939
if: failure()
4040
with:
41-
webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }}
42-
webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }}
41+
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
4342
message: <@&1079153184007790652>
4443
title: "${{ secrets.REPO_NAME }}: **Copyright Update Failed**"
45-
color: 14879811
4644
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
45+
color: 14879811
4746
username: Kobota
4847
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
4948
author: GitHub

.github/workflows/release.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -43,27 +43,25 @@ jobs:
4343
uses: Kometa-Team/discord-notifications@master
4444
if: success()
4545
with:
46-
webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }}
47-
webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }}
46+
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
4847
title: "${{ secrets.REPO_NAME }} ${{ github.event.ref }}: **Build Successful**"
4948
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
5049
color: 844716
5150
username: Kobota
52-
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/logo.png
51+
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
5352
author: PyPI
54-
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/pypi.svg
53+
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/pypi.svg
5554

5655
- name: Discord Failure Notification
5756
uses: Kometa-Team/discord-notifications@master
5857
if: failure()
5958
with:
60-
webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }}
61-
webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }}
59+
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
6260
message: <@&1079153184007790652>
6361
title: "${{ secrets.REPO_NAME }} ${{ github.event.ref }}: **Build Failed**"
64-
color: 14879811
6562
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
63+
color: 14879811
6664
username: Kobota
6765
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
6866
author: PyPI
69-
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/pypi.svg
67+
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/pypi.svg

.github/workflows/tests.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,11 @@ jobs:
5757
- name: Discord Failure Notification
5858
uses: Kometa-Team/discord-notifications@master
5959
with:
60-
webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }}
61-
webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }}
60+
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
6261
message: <@&1079153184007790652>
6362
title: "${{ secrets.REPO_NAME }}: **Tests Failed**"
64-
color: 14879811
6563
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
64+
color: 14879811
6665
username: Kobota
6766
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
6867
author: GitHub

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.13
1+
1.2.14

0 commit comments

Comments
 (0)