Skip to content

Commit

Permalink
Merge pull request #11 from SamBroomy/version-bump
Browse files Browse the repository at this point in the history
Add `id-token` permission for publish job
  • Loading branch information
SamBroomy authored Dec 9, 2024
2 parents 58bed32 + e74c7d7 commit b56b277
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
permissions:
contents: read
pull-requests: write

id-token: write
jobs:
lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -65,8 +65,6 @@ jobs:
name: Build and Publish to PyPI
runs-on: ubuntu-latest
needs: test
permissions:
id-token: write
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

steps:
Expand Down

0 comments on commit b56b277

Please sign in to comment.