From 34f49a634739c99c54bfd5668ad7a64902905902 Mon Sep 17 00:00:00 2001 From: Dan Garner Date: Thu, 29 Feb 2024 15:39:02 +0000 Subject: [PATCH] QA: add specific permissions for the token to push into packages. --- .github/workflows/build-pr.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-pr.yaml b/.github/workflows/build-pr.yaml index ba62224a03..19064e51b3 100644 --- a/.github/workflows/build-pr.yaml +++ b/.github/workflows/build-pr.yaml @@ -1,4 +1,4 @@ -name: Build Container +name: Build PR on: pull_request_review: @@ -9,6 +9,9 @@ jobs: name: Build PR container if: github.repository == 'xibosignage/xibo-cms' && github.event.review.state == 'APPROVED' runs-on: ubuntu-22.04 + permissions: + contents: read + packages: write steps: - name: Checkout uses: actions/checkout@v1