add-example-plugin-2 #6

Closed
litruv wants to merge 9 commits from add-example-plugin-2 into main
Showing only changes of commit 42b34daef5 - Show all commits

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}'