Skip to content

Commit 1dce0e1

Browse files
authored
Merge pull request #33 from r7kamura/git-push-token
Fix bug that default access token is used on `git push`
2 parents 01fa120 + 26377a7 commit 1dce0e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ runs:
4646
- uses: actions/checkout@v4
4747
with:
4848
ref: "${{ github.event.pull_request.base.ref }}" # We want to always get the default branch ref.
49+
token: ${{ inputs.github_token || github.token }}
4950
- name: Create pull request
5051
run: |
5152
if [ "${{ github.event_name }}" == "pull_request" ] && [ "${{ github.event.action }}" == "closed" ]; then

0 commit comments

Comments
 (0)