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:
Bharath Nallapeta
2023-07-21 12:45:38 +05:30
committed by GitHub
parent 18dad59d13
commit ad70134967

View File

@@ -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