From e05db11b023949693989b65f499c89724ecd401d Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Wed, 23 Mar 2022 04:16:39 -0400 Subject: [PATCH] [25] update actions --- .github/workflows/commit.yml | 22 ---------------------- .github/workflows/develop.yml | 26 ++++++++++++++++++++------ .github/workflows/latest.yml | 16 ++++++++++------ .github/workflows/nightly.yml | 19 ++++++++++++------- .github/workflows/version.yml | 16 ++++++++++------ VERSION | 2 +- 6 files changed, 53 insertions(+), 48 deletions(-) delete mode 100644 .github/workflows/commit.yml diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml deleted file mode 100644 index 274aae22..00000000 --- a/.github/workflows/commit.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Commit Notification - -on: - push: - branches: [ develop ] - -jobs: - - commit-notification: - - runs-on: ubuntu-latest - steps: - - - name: Send Discord Commit Notification - uses: meisnate12/discord-notifications@master - with: - webhook_id: ${{ secrets.DEVELOP_WEBHOOK_ID }} - webhook_token: ${{ secrets.DEVELOP_WEBHOOK_TOKEN }} - title: Plex Meta Manager Develop Push - commits: "true" - username: Metabot - avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/pmm.png \ No newline at end of file diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 717b713d..d7c89cf9 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -12,6 +12,16 @@ jobs: runs-on: ubuntu-latest steps: + - name: Send Discord Commit Notification + uses: meisnate12/discord-notifications@master + with: + webhook_id: ${{ secrets.DEVELOP_WEBHOOK_ID }} + webhook_token: ${{ secrets.DEVELOP_WEBHOOK_TOKEN }} + title: Plex Meta Manager Develop Commits + commits: "true" + username: Metabot + avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/pmm.png + - name: Check Out Repo uses: actions/checkout@v3 with: @@ -48,10 +58,12 @@ jobs: with: webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} - title: "Docker develop build: **Success**" + title: "develop build: **Success**" url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} - username: Docker - avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/docker.png + username: Metabot + avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/pmm.png + author: Docker + author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/docker.png - name: Discord Failure Notification uses: meisnate12/discord-notifications@master @@ -59,8 +71,10 @@ jobs: with: webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} - title: "Docker develop build: **Failure**" + title: "develop build: **Failure**" color: 0xe30c43 url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} - username: Docker - avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/docker.png + username: Metabot + avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/pmm.png + author: Docker + author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/docker.png diff --git a/.github/workflows/latest.yml b/.github/workflows/latest.yml index 5a9cb123..a197384f 100644 --- a/.github/workflows/latest.yml +++ b/.github/workflows/latest.yml @@ -44,10 +44,12 @@ jobs: with: webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} - title: "Docker latest build: **Success**" + title: "latest build: **Success**" url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} - username: Docker - avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png + username: Metabot + avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/pmm.png + author: Docker + author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png - name: Discord Failure Notification uses: meisnate12/discord-notifications@master @@ -55,8 +57,10 @@ jobs: with: webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} - title: "Docker latest build: **Failure**" + title: "latest build: **Failure**" color: 0xe30c43 url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} - username: Docker - avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png \ No newline at end of file + username: Metabot + avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/pmm.png + author: Docker + author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png \ No newline at end of file diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index df5e06e2..098fee8d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -17,10 +17,11 @@ jobs: with: webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} - title: Plex Meta Manager Nightly Push + title: Plex Meta Manager Nightly Commits commits: "true" username: Metabot avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/.github/pmm.png + author: Github Nightly - name: Check Out Repo uses: actions/checkout@v3 @@ -58,10 +59,12 @@ jobs: with: webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} - title: "Docker nightly build: **Success**" + title: "nightly build: **Success**" url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} - username: Docker - avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/.github/docker.png + username: Metabot + avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/.github/pmm.png + author: Docker + author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/.github/docker.png - name: Discord Failure Notification uses: meisnate12/discord-notifications@master @@ -69,8 +72,10 @@ jobs: with: webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} - title: "Docker nightly build: **Failure**" + title: "nightly build: **Failure**" color: 0xe30c43 url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} - username: Docker - avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/.github/docker.png + username: Metabot + avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/.github/pmm.png + author: Docker + author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/.github/docker.png diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index d2b5f1df..2fdc6193 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -50,10 +50,12 @@ jobs: with: webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} - title: "Docker ${{ steps.get_version.outputs.VERSION }} build: **Success**" + title: "${{ steps.get_version.outputs.VERSION }} build: **Success**" url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} - username: Docker - avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png + username: Metabot + avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/pmm.png + author: Docker + author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png - name: Discord Failure Notification uses: meisnate12/discord-notifications@master @@ -61,8 +63,10 @@ jobs: with: webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} - title: "Docker ${{ steps.get_version.outputs.VERSION }} build: **Failure**" + title: "${{ steps.get_version.outputs.VERSION }} build: **Failure**" color: 0xe30c43 url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} - username: Docker - avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png + username: Metabot + avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/pmm.png + author: Docker + author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png diff --git a/VERSION b/VERSION index 66dd5f69..691a01f0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.16.2-develop22 +1.16.2-develop25