Skip to content

Commit b5f9b13

Browse files
fix: enable persist-credentials for release workflow (#3907)
Re-enable persist-credentials: true in the prepare-release workflow checkout step <!-- Thank you for your contribution! Please, make sure you address all the checklists (for details on how see [development documentation](http://tox.readthedocs.org/en/latest/development.html#development))! --> - [ ] ran the linter to address style issues (`tox -e fix`) - [ ] wrote descriptive pull request text - [ ] ensured there are test(s) validating the fix - [ ] added news fragment in `docs/changelog` folder - [ ] updated/extended the documentation --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 8c9c199 commit b5f9b13

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/prepare-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
fetch-depth: 0
3232
token: ${{ secrets.RELEASE_PAT }}
33-
persist-credentials: false
33+
persist-credentials: true
3434

3535
- name: Install the latest version of uv
3636
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7

docs/changelog/3907.misc.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Enable ``persist-credentials: true`` in the ``actions/checkout`` step of the prepare-release workflow so that git push
2+
operations succeed during automated releases - by :user:`rahuldevikar`.

0 commit comments

Comments
 (0)