mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[11] update actions
This commit is contained in:
parent
ca8d960bab
commit
6d290caa51
7 changed files with 75 additions and 72 deletions
16
.github/workflows/copyright.yml
vendored
16
.github/workflows/copyright.yml
vendored
|
@ -6,7 +6,7 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update:
|
||||
update-copyright:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
|
@ -41,11 +41,11 @@ jobs:
|
|||
if: failure()
|
||||
with:
|
||||
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
|
||||
message: <@&1079153184007790652>
|
||||
title: "${{ vars.REPO_NAME }}: **Copyright Update Failed**"
|
||||
message: ${{ vars.BUILD_FAILURE_ROLE }}
|
||||
title: "${{ vars.REPO_NAME }}: ${{ vars.TEXT_COPYRIGHT }}"
|
||||
url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}
|
||||
color: 14879811
|
||||
username: Kobota
|
||||
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/bot.png
|
||||
author: GitHub
|
||||
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/git.png
|
||||
color: ${{ vars.COLOR_FAILURE }}
|
||||
username: ${{ vars.BOT_NAME }}
|
||||
avatar_url: ${{ vars.BOT_IMAGE }}
|
||||
author: ${{ vars.GIT_NAME }}
|
||||
author_icon_url: ${{ vars.GIT_IMAGE }}
|
35
.github/workflows/develop.yml
vendored
35
.github/workflows/develop.yml
vendored
|
@ -79,27 +79,27 @@ jobs:
|
|||
if: success()
|
||||
with:
|
||||
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
|
||||
title: "${{ vars.REPO_NAME }} develop: **Build Successful**"
|
||||
title: "${{ vars.REPO_NAME }} develop: ${{ vars.TEXT_SUCCESS }}"
|
||||
url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}
|
||||
color: 844716
|
||||
username: Kobota
|
||||
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/bot.png
|
||||
author: Docker
|
||||
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/docker.png
|
||||
color: ${{ vars.COLOR_SUCCESS }}
|
||||
username: ${{ vars.BOT_NAME }}
|
||||
avatar_url: ${{ vars.BOT_IMAGE }}
|
||||
author: ${{ vars.DOCKER_NAME }}
|
||||
author_icon_url: ${{ vars.DOCKER_IMAGE }}
|
||||
|
||||
- name: Discord Failure Notification
|
||||
uses: Kometa-Team/discord-notifications@master
|
||||
if: failure()
|
||||
with:
|
||||
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
|
||||
message: <@&1079153184007790652>
|
||||
title: "${{ vars.REPO_NAME }} develop: **Build Failed**"
|
||||
message: ${{ vars.BUILD_FAILURE_ROLE }}
|
||||
title: "${{ vars.REPO_NAME }} develop: ${{ vars.TEXT_FAILURE }}"
|
||||
url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}
|
||||
color: 14879811
|
||||
username: Kobota
|
||||
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/bot.png
|
||||
author: Docker
|
||||
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/docker.png
|
||||
color: ${{ vars.COLOR_FAILURE }}
|
||||
username: ${{ vars.BOT_NAME }}
|
||||
avatar_url: ${{ vars.BOT_IMAGE }}
|
||||
author: ${{ vars.DOCKER_NAME }}
|
||||
author_icon_url: ${{ vars.DOCKER_IMAGE }}
|
||||
|
||||
commit-notification:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -111,10 +111,11 @@ jobs:
|
|||
uses: Kometa-Team/discord-notifications@master
|
||||
with:
|
||||
webhook_id_token: ${{ secrets.DEVELOP_WEBHOOK }}
|
||||
title: Commits
|
||||
title: ${{ vars.TEXT_COMMITS }}
|
||||
message: "<@&954835263731949623> - An update to Kometa has been published and is available to users of the **develop** branch.\n\nWe **strongly** recommend users who previously switched to the `nightly` branch to resolve any previous issues to now switch back to the `develop` branch now."
|
||||
commits: "true"
|
||||
username: Kobota
|
||||
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/bot.png
|
||||
color: ${{ vars.COLOR_SUCCESS }}
|
||||
username: ${{ vars.BOT_NAME }}
|
||||
avatar_url: ${{ vars.BOT_IMAGE }}
|
||||
author: ${{ vars.REPO_NAME }} Develop Release
|
||||
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/release.png
|
||||
author_icon_url: ${{ vars.RELEASE_IMAGE }}
|
||||
|
|
26
.github/workflows/latest.yml
vendored
26
.github/workflows/latest.yml
vendored
|
@ -45,24 +45,24 @@ jobs:
|
|||
if: success()
|
||||
with:
|
||||
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
|
||||
title: "${{ vars.REPO_NAME }} latest: **Build Successful**"
|
||||
title: "${{ vars.REPO_NAME }} latest: ${{ vars.TEXT_SUCCESS }}"
|
||||
url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}
|
||||
color: 844716
|
||||
username: Kobota
|
||||
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/master/.github/bot.png
|
||||
author: Docker
|
||||
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/master/.github/docker.png
|
||||
color: ${{ vars.COLOR_SUCCESS }}
|
||||
username: ${{ vars.BOT_NAME }}
|
||||
avatar_url: ${{ vars.BOT_IMAGE }}
|
||||
author: ${{ vars.DOCKER_NAME }}
|
||||
author_icon_url: ${{ vars.DOCKER_IMAGE }}
|
||||
|
||||
- name: Discord Failure Notification
|
||||
uses: Kometa-Team/discord-notifications@master
|
||||
if: failure()
|
||||
with:
|
||||
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
|
||||
message: <@&1079153184007790652>
|
||||
title: "${{ vars.REPO_NAME }} latest: **Build Failed**"
|
||||
message: ${{ vars.BUILD_FAILURE_ROLE }}
|
||||
title: "${{ vars.REPO_NAME }} latest: ${{ vars.TEXT_FAILURE }}"
|
||||
url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}
|
||||
color: 14879811
|
||||
username: Kobota
|
||||
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/master/.github/bot.png
|
||||
author: Docker
|
||||
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/master/.github/docker.png
|
||||
color: ${{ vars.COLOR_FAILURE }}
|
||||
username: ${{ vars.BOT_NAME }}
|
||||
avatar_url: ${{ vars.BOT_IMAGE }}
|
||||
author: ${{ vars.DOCKER_NAME }}
|
||||
author_icon_url: ${{ vars.DOCKER_IMAGE }}
|
35
.github/workflows/nightly.yml
vendored
35
.github/workflows/nightly.yml
vendored
|
@ -79,27 +79,27 @@ jobs:
|
|||
if: success()
|
||||
with:
|
||||
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
|
||||
title: "${{ vars.REPO_NAME }} nightly: **Build Successful**"
|
||||
title: "${{ vars.REPO_NAME }} nightly: ${{ vars.TEXT_SUCCESS }}"
|
||||
url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}
|
||||
color: 844716
|
||||
username: Kobota
|
||||
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/bot.png
|
||||
author: Docker
|
||||
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/docker.png
|
||||
color: ${{ vars.COLOR_SUCCESS }}
|
||||
username: ${{ vars.BOT_NAME }}
|
||||
avatar_url: ${{ vars.BOT_IMAGE }}
|
||||
author: ${{ vars.DOCKER_NAME }}
|
||||
author_icon_url: ${{ vars.DOCKER_IMAGE }}
|
||||
|
||||
- name: Discord Failure Notification
|
||||
uses: Kometa-Team/discord-notifications@master
|
||||
if: failure()
|
||||
with:
|
||||
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
|
||||
message: <@&1079153184007790652>
|
||||
title: "${{ vars.REPO_NAME }} nightly: **Build Failed**"
|
||||
message: ${{ vars.BUILD_FAILURE_ROLE }}
|
||||
title: "${{ vars.REPO_NAME }} nightly: ${{ vars.TEXT_FAILURE }}"
|
||||
url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}
|
||||
color: 14879811
|
||||
username: Kobota
|
||||
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/bot.png
|
||||
author: Docker
|
||||
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/docker.png
|
||||
color: ${{ vars.COLOR_FAILURE }}
|
||||
username: ${{ vars.BOT_NAME }}
|
||||
avatar_url: ${{ vars.BOT_IMAGE }}
|
||||
author: ${{ vars.DOCKER_NAME }}
|
||||
author_icon_url: ${{ vars.DOCKER_IMAGE }}
|
||||
|
||||
commit-notification:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -111,10 +111,11 @@ jobs:
|
|||
uses: Kometa-Team/discord-notifications@master
|
||||
with:
|
||||
webhook_id_token: ${{ secrets.NIGHTLY_WEBHOOK }}
|
||||
title: Commits
|
||||
title: ${{ vars.TEXT_COMMITS }}
|
||||
message: "<@&967002147520675840> - An update to Kometa has now been published and is available to users of the **nightly** branch."
|
||||
commits: "true"
|
||||
username: Kobota
|
||||
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/bot.png
|
||||
color: ${{ vars.COLOR_SUCCESS }}
|
||||
username: ${{ vars.BOT_NAME }}
|
||||
avatar_url: ${{ vars.BOT_IMAGE }}
|
||||
author: ${{ vars.REPO_NAME }} Nightly Release
|
||||
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/release.png
|
||||
author_icon_url: ${{ vars.RELEASE_IMAGE }}
|
||||
|
|
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -18,7 +18,8 @@ jobs:
|
|||
release: true
|
||||
title: Release VERSION
|
||||
message: "<@&967002324646113290> - A new version of Kometa has been released and is available to all users.\n\nWe **strongly** recommend users who previously switched to the `nightly` or `develop` branches to resolve any previous issues to now switch back to the `latest` branch now."
|
||||
username: Kobota
|
||||
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/bot.png
|
||||
color: ${{ vars.COLOR_SUCCESS }}
|
||||
username: ${{ vars.BOT_NAME }}
|
||||
avatar_url: ${{ vars.BOT_IMAGE }}
|
||||
author: Kometa Release
|
||||
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/release.png
|
||||
author_icon_url: ${{ vars.RELEASE_IMAGE }}
|
26
.github/workflows/version.yml
vendored
26
.github/workflows/version.yml
vendored
|
@ -53,27 +53,27 @@ jobs:
|
|||
if: success()
|
||||
with:
|
||||
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
|
||||
title: "${{ vars.REPO_NAME }} ${{ steps.get_version.outputs.VERSION }}: **Build Successful**"
|
||||
title: "${{ vars.REPO_NAME }} ${{ steps.get_version.outputs.VERSION }}: ${{ vars.TEXT_SUCCESS }}"
|
||||
url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}
|
||||
color: 844716
|
||||
username: Kobota
|
||||
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/master/.github/bot.png
|
||||
author: Docker
|
||||
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/master/.github/docker.png
|
||||
color: ${{ vars.COLOR_SUCCESS }}
|
||||
username: ${{ vars.BOT_NAME }}
|
||||
avatar_url: ${{ vars.BOT_IMAGE }}
|
||||
author: ${{ vars.DOCKER_NAME }}
|
||||
author_icon_url: ${{ vars.DOCKER_IMAGE }}
|
||||
|
||||
- name: Discord Failure Notification
|
||||
uses: Kometa-Team/discord-notifications@master
|
||||
if: failure()
|
||||
with:
|
||||
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
|
||||
message: <@&1079153184007790652>
|
||||
title: "${{ vars.REPO_NAME }} ${{ steps.get_version.outputs.VERSION }}: **Build Failed**"
|
||||
message: ${{ vars.BUILD_FAILURE_ROLE }}
|
||||
title: "${{ vars.REPO_NAME }} ${{ steps.get_version.outputs.VERSION }}: ${{ vars.TEXT_FAILURE }}"
|
||||
url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}
|
||||
color: 14879811
|
||||
username: Kobota
|
||||
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/master/.github/bot.png
|
||||
author: Docker
|
||||
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/master/.github/docker.png
|
||||
color: ${{ vars.COLOR_FAILURE }}
|
||||
username: ${{ vars.BOT_NAME }}
|
||||
avatar_url: ${{ vars.BOT_IMAGE }}
|
||||
author: ${{ vars.DOCKER_NAME }}
|
||||
author_icon_url: ${{ vars.DOCKER_IMAGE }}
|
||||
|
||||
- name: Checkout Configs Repo
|
||||
uses: actions/checkout@v4
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
2.0.1-develop10
|
||||
2.0.1-develop11
|
||||
|
|
Loading…
Reference in a new issue