From 7b1a515f5b822fbc682a1257ec2af41114a3a525 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Mon, 22 Apr 2024 02:10:12 -0400 Subject: [PATCH] update actions --- .github/workflows/copyright.yml | 5 ++--- .github/workflows/release.yml | 14 ++++++-------- VERSION | 2 +- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/copyright.yml b/.github/workflows/copyright.yml index 11a30f4..4c18bd5 100644 --- a/.github/workflows/copyright.yml +++ b/.github/workflows/copyright.yml @@ -38,12 +38,11 @@ jobs: uses: Kometa-Team/discord-notifications@master if: failure() with: - webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} - webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} + webhook_id_token: ${{ secrets.BUILD_WEBHOOK }} message: <@&1079153184007790652> title: "${{ secrets.REPO_NAME }}: **Copyright Update Failed**" - color: 14879811 url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }} + color: 14879811 username: Kobota avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png author: GitHub diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df53a8d..5f011f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,27 +43,25 @@ jobs: uses: Kometa-Team/discord-notifications@master if: success() with: - webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} - webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} + webhook_id_token: ${{ secrets.BUILD_WEBHOOK }} title: "${{ secrets.REPO_NAME }} ${{ github.event.ref }}: **Build Successful**" url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }} color: 844716 username: Kobota - avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/logo.png + avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png author: PyPI - author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/pypi.svg + author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/pypi.svg - name: Discord Failure Notification uses: Kometa-Team/discord-notifications@master if: failure() with: - webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} - webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} + webhook_id_token: ${{ secrets.BUILD_WEBHOOK }} message: <@&1079153184007790652> title: "${{ secrets.REPO_NAME }} ${{ github.event.ref }}: **Build Failed**" - color: 14879811 url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }} + color: 14879811 username: Kobota avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png author: PyPI - author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/pypi.svg \ No newline at end of file + author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/pypi.svg \ No newline at end of file diff --git a/VERSION b/VERSION index 3659506..009e668 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.4.10 \ No newline at end of file +1.4.11 \ No newline at end of file