From eabc8b2af82329a12e755fcbc24629d921e3c11a Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Mon, 22 Apr 2024 03:13:06 -0400 Subject: [PATCH] update actions --- .github/workflows/check-hash.yml | 13 ++++++------- .github/workflows/copyright.yml | 13 ++++++------- requirements.txt | 2 +- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/check-hash.yml b/.github/workflows/check-hash.yml index a5d316f..d9517dc 100644 --- a/.github/workflows/check-hash.yml +++ b/.github/workflows/check-hash.yml @@ -1,4 +1,4 @@ -name: Check-IMDb-Hash +name: Check IMDb Hash on: schedule: @@ -8,7 +8,7 @@ on: pull_request: jobs: - Check-IMDb-Hash: + check: 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 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/requirements.txt b/requirements.txt index 3e33150..9aac4c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ selenium==4.19.0 webdriver-manager==4.0.1 GitPython==3.1.43 -kometautils==0.3.1 +kometautils==0.3.4