From 240266cc39f2ac4a4758e0fabf9eb5d5d9a521be Mon Sep 17 00:00:00 2001 From: LizardByte-bot <108553330+LizardByte-bot@users.noreply.github.com> Date: Thu, 30 Mar 2023 09:57:33 -0400 Subject: [PATCH] ci: update global workflows (#1109) --- .github/workflows/ci-qodana.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci-qodana.yml b/.github/workflows/ci-qodana.yml index 75d0c5ed826..91feb59fae8 100644 --- a/.github/workflows/ci-qodana.yml +++ b/.github/workflows/ci-qodana.yml @@ -20,6 +20,8 @@ concurrency: jobs: qodana_initial_check: name: Qodana Initial Check + permissions: + actions: write # required to use workflow dispatch on fork PRs runs-on: ubuntu-latest steps: - name: Checkout @@ -235,6 +237,8 @@ jobs: needs: [qodana_initial_check, qodana] runs-on: ubuntu-latest name: Dispatch Qodana + permissions: + actions: write # required to use workflow dispatch on fork PRs if: ${{ needs.qodana_initial_check.outputs.files != '' }} steps: - name: Setup qodana publish inputs