From 5a244caa0ea88968e665459c6ace85deb18aa87c Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Wed, 8 May 2024 15:42:44 -0400 Subject: [PATCH] fix(ci): make permissions global to workflow --- .github/workflows/generate.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 75f53ad8..65b04b60 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -6,11 +6,12 @@ on: - "main" workflow_dispatch: {} +permissions: + contents: write + actions: write + jobs: generate: - permissions: - contents: write - actions: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v4