Merge branch 'main' into add-example-plugin-2
All checks were successful
Validate Plugin PR / validate (pull_request) Successful in 8s

This commit is contained in:
2026-04-17 02:26:47 +10:00

View File

@@ -27,7 +27,12 @@ jobs:
run: | run: |
node .gitea/scripts/validate-pr.js "${{ github.event.pull_request.user.login }}" "${{ steps.changed-files.outputs.files }}" 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() if: success()
run: | 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}'