Move permissions in release and add id-token (#24)

Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
This commit is contained in:
Kathryn Baldauf
2025-06-05 20:28:08 -07:00
committed by GitHub
parent 19778a2bf3
commit 46260fd6a6
+8 -5
View File
@@ -5,11 +5,6 @@ on:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
permissions:
contents: read
packages: write
pages: write
jobs:
containerization:
uses: ./.github/workflows/containerization-build-template.yml
@@ -17,9 +12,17 @@ jobs:
release: true
version: ${{ github.ref_name }}
secrets: inherit
permissions:
contents: read
packages: write
pages: write
deployDocs:
runs-on: ubuntu-latest
needs: containerization
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}