Skip to content

misc doc updates - chains, callluts, etc #29

misc doc updates - chains, callluts, etc

misc doc updates - chains, callluts, etc #29

name: Auto-merge OpenAPI updates
on:
pull_request:
types: [opened, synchronize]
jobs:
auto-merge:
if: |
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 }}"

Check failure on line 27 in .github/workflows/auto-merge-openapi-updates.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/auto-merge-openapi-updates.yml

Invalid workflow file

You have an error in your yaml syntax on line 27