ifix(ci): do not persist checkout credentials when not required

This commit is contained in:
Harsh Shandilya 2024-12-09 17:47:35 +05:30
parent 5a7e178c6d
commit f8d1662a62
3 changed files with 8 additions and 0 deletions

View file

@ -21,6 +21,7 @@ jobs:
token: ${{ secrets.POST_RELEASE_GH_TOKEN }}
fetch-depth: 0
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
persist-credentials: true
- name: Set up Git author
shell: bash