Skip to content

Commit

Permalink
QA: add specific permissions for the token to push into packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
dasgarner committed Feb 29, 2024
1 parent fccfca6 commit 34f49a6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-pr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Container
name: Build PR

on:
pull_request_review:
Expand All @@ -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
Expand Down

0 comments on commit 34f49a6

Please sign in to comment.