mirror of
https://github.com/stakater/Reloader.git
synced 2026-03-02 17:30:19 +00:00
Remove persist-credentials flag in checkout step of the actions
- Setting this to false causes the GitHub action to use the PAT of the person who pushed the changes to the repo. - Removing this will set the value to true by default thereby persisting inbuilt github_token across all the steps including the commit step which is currently failing. - GitHub removes this in post-run step.
This commit is contained in:
committed by
GitHub
parent
18dad59d13
commit
ad70134967
1
.github/workflows/push.yaml
vendored
1
.github/workflows/push.yaml
vendored
@@ -22,7 +22,6 @@ jobs:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
|
||||
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
|
||||
|
||||
# Setting up helm binary
|
||||
|
||||
Reference in New Issue
Block a user