Skip to content

Commit a4af6eb

Browse files
authored
merge(#9): chore: save token to file
chore: save token to file
2 parents 7749b6f + 365f906 commit a4af6eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/on_merge.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ jobs:
4646
- name: Login and merge PR with gh
4747
if: env.CHANGED == 'true'
4848
run: |
49-
gh auth login --with-token < ${{ secrets.GITHUB_TOKEN }}
49+
echo ${{ secrets.GITHUB_TOKEN }} > token.txt
50+
gh auth login --with-token < token.txt
5051
gh pr merge --auto --squash --delete-branch

0 commit comments

Comments
 (0)