Skip to content

Commit 9f6e74c

Browse files
authored
chore: run automerge only in Docs PRs (#816)
1 parent 12dea3d commit 9f6e74c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/automerge-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ permissions:
2121
jobs:
2222
automerge:
2323
runs-on: ubuntu-latest
24-
if: ${{ github.actor == 'googlemaps-bot' }}
24+
if: >
25+
github.actor == 'googlemaps-bot' &&
26+
github.event.pull_request.title == 'docs: Update docs'
2527
env:
2628
PR_URL: ${{github.event.pull_request.html_url}}
2729
GITHUB_TOKEN: ${{secrets.SYNCED_GITHUB_TOKEN_REPO}}

0 commit comments

Comments
 (0)