Add approval comment before auto-merge

This commit is contained in:
2026-04-17 03:28:55 +10:00
parent d31531778f
commit 2a4c5fd2b6

View File

@@ -72,6 +72,15 @@ jobs:
env: env:
PR_FILES_DIR: ../pr/plugins PR_FILES_DIR: ../pr/plugins
- name: Post approval comment
if: success()
run: |
curl -X POST \
-H "Authorization: token ${{ github.token }}" \
-H "Content-Type: application/json" \
-d '{"body":"✅ **Validation passed!** Auto-merging this pull request.\n\nAll plugin requirements have been met:\n- ✓ Valid plugin schema\n- ✓ Correct filename format\n- ✓ Author verification\n- ✓ Repository URL valid\n\nYour plugin will be available in the directory shortly!"}' \
"http://synbox.ruv.wtf:8418/api/v1/repos/litruv/Plugin-Directory/issues/${{ github.event.pull_request.number }}/comments"
- name: Auto-merge PR - name: Auto-merge PR
if: success() if: success()
run: | run: |