Skip to content

Commit

Permalink
ci: don't persist credentials on checkout (#30)
Browse files Browse the repository at this point in the history
* don't persist credentials on checkout

* add no persistence to other stages
  • Loading branch information
jamie-cunningham authored Dec 16, 2024
1 parent 1de1256 commit 3b6f120
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Python
uses: actions/setup-python@v5
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
name: package-distributions
github-token: ${{ secrets.RELEASE_TOKEN }}
path: dist/
persist-credentials: false
- name: Sign the dists
uses: sigstore/[email protected]
with:
Expand Down

0 comments on commit 3b6f120

Please sign in to comment.