diff --git a/.github/workflows/make_release_hpu.yml b/.github/workflows/make_release_hpu.yml index 7127bfcf3..aac901095 100644 --- a/.github/workflows/make_release_hpu.yml +++ b/.github/workflows/make_release_hpu.yml @@ -24,6 +24,13 @@ jobs: with: package-name: "tfhe-hpu-backend" dry-run: ${{ inputs.dry_run }} + permissions: + # Needed to detect the GitHub Actions environment + actions: read + # Needed to create the provenance via GitHub OIDC + id-token: write + # Needed to upload assets/artifacts + contents: write secrets: BOT_USERNAME: ${{ secrets.BOT_USERNAME }} SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} diff --git a/.github/workflows/make_release_tfhe.yml b/.github/workflows/make_release_tfhe.yml index e1f8f5a44..8c413456c 100644 --- a/.github/workflows/make_release_tfhe.yml +++ b/.github/workflows/make_release_tfhe.yml @@ -42,6 +42,13 @@ jobs: with: package-name: "tfhe" dry-run: ${{ inputs.dry_run }} + permissions: + # Needed to detect the GitHub Actions environment + actions: read + # Needed to create the provenance via GitHub OIDC + id-token: write + # Needed to upload assets/artifacts + contents: write secrets: BOT_USERNAME: ${{ secrets.BOT_USERNAME }} SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} diff --git a/.github/workflows/make_release_tfhe_csprng.yml b/.github/workflows/make_release_tfhe_csprng.yml index 2689c8b7b..e5eb4dd7d 100644 --- a/.github/workflows/make_release_tfhe_csprng.yml +++ b/.github/workflows/make_release_tfhe_csprng.yml @@ -17,6 +17,13 @@ jobs: with: package-name: "tfhe-csprng" dry-run: ${{ inputs.dry_run }} + permissions: + # Needed to detect the GitHub Actions environment + actions: read + # Needed to create the provenance via GitHub OIDC + id-token: write + # Needed to upload assets/artifacts + contents: write secrets: BOT_USERNAME: ${{ secrets.BOT_USERNAME }} SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} diff --git a/.github/workflows/make_release_tfhe_fft.yml b/.github/workflows/make_release_tfhe_fft.yml index 5104def55..7252c4b0d 100644 --- a/.github/workflows/make_release_tfhe_fft.yml +++ b/.github/workflows/make_release_tfhe_fft.yml @@ -25,6 +25,13 @@ jobs: with: package-name: "tfhe-fft" dry-run: ${{ inputs.dry_run }} + permissions: + # Needed to detect the GitHub Actions environment + actions: read + # Needed to create the provenance via GitHub OIDC + id-token: write + # Needed to upload assets/artifacts + contents: write secrets: BOT_USERNAME: ${{ secrets.BOT_USERNAME }} SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} diff --git a/.github/workflows/make_release_tfhe_ntt.yml b/.github/workflows/make_release_tfhe_ntt.yml index 82657fc73..da4a24c5d 100644 --- a/.github/workflows/make_release_tfhe_ntt.yml +++ b/.github/workflows/make_release_tfhe_ntt.yml @@ -25,6 +25,13 @@ jobs: with: package-name: "tfhe-ntt" dry-run: ${{ inputs.dry_run }} + permissions: + # Needed to detect the GitHub Actions environment + actions: read + # Needed to create the provenance via GitHub OIDC + id-token: write + # Needed to upload assets/artifacts + contents: write secrets: BOT_USERNAME: ${{ secrets.BOT_USERNAME }} SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} diff --git a/.github/workflows/make_release_tfhe_versionable.yml b/.github/workflows/make_release_tfhe_versionable.yml index b459de0de..b086f665d 100644 --- a/.github/workflows/make_release_tfhe_versionable.yml +++ b/.github/workflows/make_release_tfhe_versionable.yml @@ -24,6 +24,13 @@ jobs: with: package-name: "tfhe-versionable-derive" dry-run: ${{ inputs.dry_run }} + permissions: + # Needed to detect the GitHub Actions environment + actions: read + # Needed to create the provenance via GitHub OIDC + id-token: write + # Needed to upload assets/artifacts + contents: write secrets: BOT_USERNAME: ${{ secrets.BOT_USERNAME }} SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} @@ -39,6 +46,13 @@ jobs: with: package-name: "tfhe-versionable" dry-run: ${{ inputs.dry_run }} + permissions: + # Needed to detect the GitHub Actions environment + actions: read + # Needed to create the provenance via GitHub OIDC + id-token: write + # Needed to upload assets/artifacts + contents: write secrets: BOT_USERNAME: ${{ secrets.BOT_USERNAME }} SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} diff --git a/.github/workflows/make_release_zk_pok.yml b/.github/workflows/make_release_zk_pok.yml index 5d991b9cb..c41fdffc9 100644 --- a/.github/workflows/make_release_zk_pok.yml +++ b/.github/workflows/make_release_zk_pok.yml @@ -24,6 +24,13 @@ jobs: with: package-name: "tfhe-zk-pok" dry-run: ${{ inputs.dry_run }} + permissions: + # Needed to detect the GitHub Actions environment + actions: read + # Needed to create the provenance via GitHub OIDC + id-token: write + # Needed to upload assets/artifacts + contents: write secrets: BOT_USERNAME: ${{ secrets.BOT_USERNAME }} SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}