Skip to content

Commit

Permalink
updated permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
srivarra committed Oct 9, 2024
1 parent 102b552 commit 69f97ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:

permissions:
contents: read # to fetch code (actions/checkout)
id-token: write # This is required for requesting the JWT

jobs:
test:
Expand Down Expand Up @@ -44,6 +45,7 @@ jobs:
url: https://test.pypi.org/p/ark-analysis

permissions:
contents: read # to fetch code (actions/checkout)
id-token: write # Necessary for trusted publishing

steps:
Expand Down Expand Up @@ -71,7 +73,8 @@ jobs:
url: https://pypi.org/p/ark-analysis

permissions:
id-token: write
contents: read # to fetch code (actions/checkout)
id-token: write # Necessary for trusted publishing

# Publish when a GitHub Release is created, use the following rule:
if: github.event_name == 'release' && github.event.action == 'published'
Expand Down

0 comments on commit 69f97ad

Please sign in to comment.