Merge branch 'add-example-plugin-2' of http://synbox.ruv.wtf:8418/litruv/Plugin-Directory into add-example-plugin-2

This commit is contained in:
2026-04-17 02:27:49 +10:00

View File

@@ -27,7 +27,12 @@ jobs:
run: |
node .gitea/scripts/validate-pr.js "${{ github.event.pull_request.user.login }}" "${{ steps.changed-files.outputs.files }}"
- name: Auto-approve if valid
- name: Auto-merge PR
if: success()
run: |
echo "✅ Validation passed - PR is ready to merge"
echo "✅ Validation passed - Auto-merging PR"
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: application/json" \
"http://synbox.ruv.wtf:8418/api/v1/repos/litruv/Plugin-Directory/pulls/${{ github.event.pull_request.number }}/merge" \
-d '{"Do":"squash","MergeTitleField":"${{ github.event.pull_request.title }}","MergeMessageField":"Auto-merged after validation","delete_branch_after_merge":true}'