From abf310f60bf8c466f07c13dd45bdd43c73b7ed0d Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Wed, 29 Jun 2022 15:32:15 +0800 Subject: [PATCH] Update ghcr package action yaml (#422) Signed-off-by: Billy Zha --- .github/workflows/release-ghcr.yml | 3 +++ .github/workflows/release-github.yml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/release-ghcr.yml b/.github/workflows/release-ghcr.yml index 2ed5c401e..3599f182b 100644 --- a/.github/workflows/release-ghcr.yml +++ b/.github/workflows/release-ghcr.yml @@ -8,6 +8,9 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: read + packages: write steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml index 9a0f7fb54..4b857be74 100644 --- a/.github/workflows/release-github.yml +++ b/.github/workflows/release-github.yml @@ -8,6 +8,8 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v3