docs: clarify swapFeeToken parameter in multi-fee support #54
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, closed] | |
| jobs: | |
| auto-merge: | |
| if: | | |
| github.event_name == 'pull_request' && | |
| startsWith(github.head_ref, 'auto/update-openapi') && | |
| github.event.pull_request.head.repo.full_name == github.repository && | |
| github.event.pull_request.user.login == '0x-automation[bot]' | |
| 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 }}" | |
| publish-after-merge: | |
| if: | | |
| github.event_name == 'pull_request' && | |
| github.event.pull_request.merged == true && | |
| startsWith(github.head_ref, 'auto/update-openapi') && | |
| github.event.pull_request.user.login == '0x-automation[bot]' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: write | |
| steps: | |
| - name: Trigger publish-docs workflow | |
| run: | | |
| gh workflow run publish-docs.yml --ref main | |
| echo "✅ Triggered publish-docs workflow after merge of PR: ${{ github.event.pull_request.html_url }}" | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |