From 38a72f6237eb30d81f60ba8b458f2fe3519632dd Mon Sep 17 00:00:00 2001 From: Lucas Roesler Date: Wed, 8 Sep 2021 18:29:35 +0200 Subject: [PATCH] Set write permissions on the publish workflow Signed-off-by: Lucas Roesler --- .github/workflows/build.yaml | 8 -------- .github/workflows/publish.yaml | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 45f9e4c8..aa562daf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,14 +9,6 @@ on: jobs: build: runs-on: ubuntu-latest - permissions: - actions: read - checks: write - issues: read - packages: write - pull-requests: read - repository-projects: read - statuses: read steps: - uses: actions/checkout@master - name: Set up QEMU diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 01c76a61..badbefca 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -8,6 +8,14 @@ on: jobs: publish: runs-on: ubuntu-latest + permissions: + actions: read + checks: write + issues: read + packages: write + pull-requests: read + repository-projects: read + statuses: read steps: - uses: actions/checkout@master - name: Set up QEMU