From 0b2bbb01a7526508066615d5a03d7c296caa16e0 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Thu, 18 Apr 2024 16:05:27 -0400 Subject: [PATCH] update notifications --- .github/workflows/copyright.yml | 10 +++++----- .github/workflows/update-anime-list.yml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/copyright.yml b/.github/workflows/copyright.yml index b1188ee..4ecf0ac 100644 --- a/.github/workflows/copyright.yml +++ b/.github/workflows/copyright.yml @@ -31,20 +31,20 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add -A - git commit -m "Update at ${{ steps.date.outputs.date }} UTC" -a + git commit -m "Copyright updated to ${{ steps.date.outputs.year }}" -a git push origin master - name: Discord Failure Notification - uses: meisnate12/discord-notifications@master + uses: Kometa-Team/discord-notifications@master if: failure() with: webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} message: <@&1079153184007790652> - title: "Anime IDs Copyright: **Failure**" + title: "${{ secrets.REPO_NAME }}-Copyright: **Failure**" color: 16106776 - url: https://github.com/Kometa-Team/Anime-IDs/actions/runs/${{ github.run_id }} + url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }} username: Metabot avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png - author: IMDb Awards + author: ${{ secrets.REPO_NAME }} 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 efb895a..1b7f8ef 100644 --- a/.github/workflows/update-anime-list.yml +++ b/.github/workflows/update-anime-list.yml @@ -47,16 +47,16 @@ jobs: git push origin master - name: Discord Failure Notification - uses: meisnate12/discord-notifications@master + uses: Kometa-Team/discord-notifications@master if: failure() with: webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} message: <@&1079153184007790652> - title: "Anime IDs: **Failure**" + title: "${{ secrets.REPO_NAME }}: **Failure**" color: 16106776 - url: https://github.com/Kometa-Team/Anime-IDs/actions/runs/${{ github.run_id }} + url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }} username: Metabot avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png - author: IMDb Awards + author: ${{ secrets.REPO_NAME }} author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/git.png \ No newline at end of file