From c95a7fea9e960e76b00cc247ff35f219ab022f88 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Fri, 30 Aug 2024 13:00:56 +0200 Subject: [PATCH] Fix update-gemfiles workflow permissions No permission is declared in the workflow file, when a switch to a more restrictive global setting would cause the workflow to fail. --- .github/workflows/update-gemfiles.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update-gemfiles.yml b/.github/workflows/update-gemfiles.yml index 3085e123083..078a15ccd3d 100644 --- a/.github/workflows/update-gemfiles.yml +++ b/.github/workflows/update-gemfiles.yml @@ -29,6 +29,9 @@ jobs: check: name: Update Gemfiles runs-on: ubuntu-22.04 + permissions: + contents: write + pull-requests: write steps: # Only execute if there's a PR attached to this branch. # Because we execute on `push`, we have to double check here if this is part of a PR.