Skip to content

Commit

Permalink
CI permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricebrito committed Dec 13, 2024
1 parent 657827e commit c038aef
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,18 @@ on:
types: [created]

permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: read
packages: write
attestations: write

jobs:
deploy:

runs-on: ubuntu-latest

environment: release
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: read
packages: write
attestations: write


steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down Expand Up @@ -46,6 +44,7 @@ jobs:
with:
skip-existing: true
repository-url: https://upload.pypi.org/legacy/

container-build:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit c038aef

Please sign in to comment.