Update slugs in docs.yml and rename 0x-swap-api folder #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Auto-merge OpenAPI updates | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| auto-merge: | |
| if: startsWith(github.head_ref, 'auto/update-openapi') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| steps: | |
| - name: Enable auto-merge | |
| run: gh pr merge --auto --squash "$PR_URL" | |
| env: | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Log merge status | |
| run: | | |
| echo "✅ Auto-merge enabled for PR: ${{ github.event.pull_request.html_url }}" |