Skip to content

Commit

Permalink
build: add permissions to deploy pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Oct 16, 2023
1 parent 6e19aa1 commit 7922f61
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ jobs:
runs-on: ubuntu-latest
needs: test
if: startsWith(github.ref, 'refs/tags/')

permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
contents: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down

0 comments on commit 7922f61

Please sign in to comment.