From 6ed2f5ce8e5318e25e8d67f77425da762720b90a Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Tue, 9 Sep 2025 10:42:57 -0400 Subject: [PATCH] chore: add comment when PR is merged --- .../workflows/push-staging-pr-on-close.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/push-staging-pr-on-close.yml b/.github/workflows/push-staging-pr-on-close.yml index f5c4990fe..238ccac4c 100644 --- a/.github/workflows/push-staging-pr-on-close.yml +++ b/.github/workflows/push-staging-pr-on-close.yml @@ -122,3 +122,26 @@ jobs: echo "PR URL remains: https://preview.dl.unraid.net/unraid-api/tag/PR${{ steps.pr_number.outputs.pr_number }}/dynamix.unraid.net.plg" echo "Redirects users to staging: https://preview.dl.unraid.net/unraid-api/dynamix.unraid.net.plg" echo "Users updating from this PR version will automatically switch to staging" + + - name: Comment on PR about staging redirect + if: github.event_name == 'pull_request' + uses: thollander/actions-comment-pull-request@v3 + with: + comment-tag: pr-closed-staging + mode: recreate + message: | + ## 🔄 PR Merged - Plugin Redirected to Staging + + This PR has been merged and the preview plugin has been updated to redirect to the staging version. + + **For users testing this PR:** + - Your plugin will automatically update to the staging version on the next update check + - The staging version includes all merged changes from this PR + - No manual intervention required + + **Staging URL:** + ``` + https://preview.dl.unraid.net/unraid-api/dynamix.unraid.net.plg + ``` + + Thank you for testing! 🚀