diff --git a/.github/workflows/copyright.yml b/.github/workflows/copyright.yml index 877f6bba..dfcd84db 100644 --- a/.github/workflows/copyright.yml +++ b/.github/workflows/copyright.yml @@ -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 \ No newline at end of file + color: ${{ vars.COLOR_FAILURE }} + username: ${{ vars.BOT_NAME }} + avatar_url: ${{ vars.BOT_IMAGE }} + author: ${{ vars.GIT_NAME }} + author_icon_url: ${{ vars.GIT_IMAGE }} \ No newline at end of file diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 88567e4c..73ff724e 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -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 }} diff --git a/.github/workflows/latest.yml b/.github/workflows/latest.yml index d9850b62..52f7ad5c 100644 --- a/.github/workflows/latest.yml +++ b/.github/workflows/latest.yml @@ -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 \ No newline at end of file + color: ${{ vars.COLOR_FAILURE }} + username: ${{ vars.BOT_NAME }} + avatar_url: ${{ vars.BOT_IMAGE }} + author: ${{ vars.DOCKER_NAME }} + author_icon_url: ${{ vars.DOCKER_IMAGE }} \ No newline at end of file diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index f2254a34..a72045d5 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 740e1aab..7c26cc14 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 \ No newline at end of file + author_icon_url: ${{ vars.RELEASE_IMAGE }} \ No newline at end of file diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index efb7cef7..83ae75f2 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -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 diff --git a/VERSION b/VERSION index 134aa9cd..e9f74982 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.1-develop10 +2.0.1-develop11