Skip to content

Commit

Permalink
OPS: Add missing permissions to publish workflow jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Oct 19, 2023
1 parent d4e3d39 commit 9b16909
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skipci')"
runs-on: ubuntu-latest
needs: [check-semantic-version, run-tests]
permissions:
id-token: write
contents: read
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ jobs:
publish:
needs: release
runs-on: ubuntu-latest

permissions:
id-token: write
contents: read
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand Down

0 comments on commit 9b16909

Please sign in to comment.