Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
meisnate12 committed Apr 22, 2024
1 parent e4d8dff commit 39a6c3d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 22 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/copyright.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Update-Copyright-Year
name: Update Copyright Year

on:
schedule:
- cron: '0 3 1 1 *'
workflow_dispatch:

jobs:
Update-Copyright-Year:
update:
runs-on: ubuntu-latest
steps:

Expand Down Expand Up @@ -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
13 changes: 6 additions & 7 deletions .github/workflows/update-awards-clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,15 @@ 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 }}
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
message: <@&1079153184007790652>
title: "${{ secrets.REPO_NAME }}-Clean: **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
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/pmm.png
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
13 changes: 6 additions & 7 deletions .github/workflows/update-awards.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update-IMDb-Awards
name: Update IMDb Awards

on:
schedule:
Expand All @@ -8,7 +8,7 @@ on:
pull_request:

jobs:
Update-IMDb-Awards:
update:
runs-on: ubuntu-latest
steps:

Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GitPython==3.1.43
lxml==5.2.1
kometautils==0.3.1
kometautils==0.3.4
requests==2.31.0

0 comments on commit 39a6c3d

Please sign in to comment.