Skip to content

Commit 5dc5b67

Browse files
authored
merge(#6): chore: update auth token on_merge.yml
chore: update auth token on_merge.yml
2 parents e581ef1 + 169caa5 commit 5dc5b67

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/on_merge.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
branch: feat/update-authors-md
4343
base: main
4444

45-
- name: Merge PR with gh
45+
- name: Login and merge PR with gh
4646
if: env.CHANGED == 'true'
47-
run: gh pr merge --squash --auto
47+
run: |
48+
gh auth login --with-token < ${{ secrets.GITHUB_TOKEN }}
49+
gh pr merge --auto --squash --delete-branch

0 commit comments

Comments
 (0)