From 49ed77b85c68e36078805b6089c471cada95fd24 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Tue, 6 Dec 2022 13:50:45 +0100 Subject: [PATCH] Allow extended write permissions for Dependabot auto-merge (#3945) --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6a03deed7..e2fbb8f176 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,8 +9,6 @@ concurrency: # See: https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value group: main-${{ github.head_ref || github.run_id }} cancel-in-progress: true -permissions: - pull-requests: write env: NODE_VERSION: 18 jobs: @@ -83,6 +81,7 @@ jobs: dependabot: needs: [run] + permissions: write-all runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }} steps: