Skip to content

Commit 6ed2f5c

Browse files
committed
chore: add comment when PR is merged
1 parent b79b44e commit 6ed2f5c

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/push-staging-pr-on-close.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,26 @@ jobs:
122122
echo "PR URL remains: https://preview.dl.unraid.net/unraid-api/tag/PR${{ steps.pr_number.outputs.pr_number }}/dynamix.unraid.net.plg"
123123
echo "Redirects users to staging: https://preview.dl.unraid.net/unraid-api/dynamix.unraid.net.plg"
124124
echo "Users updating from this PR version will automatically switch to staging"
125+
126+
- name: Comment on PR about staging redirect
127+
if: github.event_name == 'pull_request'
128+
uses: thollander/actions-comment-pull-request@v3
129+
with:
130+
comment-tag: pr-closed-staging
131+
mode: recreate
132+
message: |
133+
## 🔄 PR Merged - Plugin Redirected to Staging
134+
135+
This PR has been merged and the preview plugin has been updated to redirect to the staging version.
136+
137+
**For users testing this PR:**
138+
- Your plugin will automatically update to the staging version on the next update check
139+
- The staging version includes all merged changes from this PR
140+
- No manual intervention required
141+
142+
**Staging URL:**
143+
```
144+
https://preview.dl.unraid.net/unraid-api/dynamix.unraid.net.plg
145+
```
146+
147+
Thank you for testing! 🚀

0 commit comments

Comments
 (0)