From cd1035bdd63af6aad071ba3597bf4b4943f3ce3b Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Mon, 22 Apr 2024 03:09:11 -0400 Subject: [PATCH] update actions --- .github/workflows/copyright.yml | 13 ++++++------- .github/workflows/update-anime-list.yml | 13 ++++++------- requirements.txt | 2 +- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/copyright.yml b/.github/workflows/copyright.yml index 326849b..4c18bd5 100644 --- a/.github/workflows/copyright.yml +++ b/.github/workflows/copyright.yml @@ -1,4 +1,4 @@ -name: Update-Copyright-Year +name: Update Copyright Year on: schedule: @@ -6,7 +6,7 @@ on: workflow_dispatch: jobs: - Update-Copyright-Year: + update: runs-on: ubuntu-latest steps: @@ -38,13 +38,12 @@ 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: **Failure**" - color: 16106776 + title: "${{ secrets.REPO_NAME }}: **Copyright Update Failed**" url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }} - username: Metabot + color: 14879811 + username: Kobota avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png author: GitHub author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/git.png \ No newline at end of file diff --git a/.github/workflows/update-anime-list.yml b/.github/workflows/update-anime-list.yml index 1d8dddf..0595b56 100644 --- a/.github/workflows/update-anime-list.yml +++ b/.github/workflows/update-anime-list.yml @@ -1,4 +1,4 @@ -name: Update-Anime-List +name: Update Anime List on: schedule: @@ -8,7 +8,7 @@ on: pull_request: jobs: - Update-Anime-List: + update: runs-on: ubuntu-latest steps: @@ -50,13 +50,12 @@ 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 }}: **Failure**" - color: 16106776 + title: "${{ secrets.REPO_NAME }}: **Run Failed**" url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }} - username: Metabot + color: 14879811 + username: Kobota avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png author: GitHub author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/git.png \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 7caf18d..6cb5bf3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ GitPython==3.1.43 lxml==5.2.1 -kometautils==0.3.1 +kometautils==0.3.4 requests==2.31.0 \ No newline at end of file