Skip to content

Commit 7b1a515

Browse files
committed
update actions
1 parent 7a5c203 commit 7b1a515

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

.github/workflows/copyright.yml

Lines changed: 2 additions & 3 deletions
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

Lines changed: 6 additions & 8 deletions
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

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.10
1+
1.4.11

0 commit comments

Comments
 (0)