Skip to content

Commit c50fed7

Browse files
committed
remove persist-credentials
1 parent 8cf8822 commit c50fed7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/create_release_branch.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ jobs:
3333
with:
3434
fetch-depth: 0
3535
token: ${{ steps.app-token.outputs.token }}
36-
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
37-
persist-credentials: false
36+
ref: ${{ github.head_ref }}
3837

3938
- name: Checkout repository (commit SHA))
4039
if: ${{ github.event.inputs.commit_sha != '' }}
@@ -43,8 +42,6 @@ jobs:
4342
fetch-depth: 0
4443
token: ${{ steps.app-token.outputs.token }}
4544
ref: ${{ github.event.inputs.commit_sha }}
46-
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
47-
persist-credentials: false
4845

4946
- name: Get GitHub App User ID
5047
id: get-user-id

0 commit comments

Comments
 (0)