Skip to content

Commit 991df7a

Browse files
committed
Allow automerge to trigger actions
1 parent fa480f9 commit 991df7a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/automerge.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: ${{ github.actor == 'dependabot[bot]' }}
1313
steps:
14+
- name: Authenticate CLI with a PAT
15+
env:
16+
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
17+
if: env.RELEASE_TOKEN != ''
18+
run: echo "${RELEASE_TOKEN}" | gh auth login --with-token
1419
- name: Enable auto-merge for Dependabot PRs
1520
run: gh pr merge --auto --squash "$PR_URL"
1621
env:

0 commit comments

Comments
 (0)