From 30a7a0ba90d4346a81407055034322e2acc61e5f Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Wed, 15 Nov 2023 11:37:20 +0100 Subject: [PATCH] ci: add permissions for release workflow and don't limit branches for the checks --- .github/workflows/ci.yaml | 1 - .github/workflows/release.yaml | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 297a9f3..9d85ec3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,7 +2,6 @@ name: CI on: push: - branches: ['main'] pull_request: jobs: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b7d7269..4494914 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,6 +11,10 @@ jobs: release: name: Release runs-on: ubuntu-latest + permissions: + contents: write + packages: write + pull-requests: write steps: - name: Checkout Repo uses: actions/checkout@v4