From dec182663877f5db53836ecafe4b06d3b6610e39 Mon Sep 17 00:00:00 2001 From: AmmarKarachi Date: Wed, 10 Nov 2021 17:30:22 -0800 Subject: [PATCH] added additional permissions --- .github/workflows/release-beta.yml | 2 ++ .github/workflows/release.yml | 2 ++ .projenrc.js | 6 +++++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-beta.yml b/.github/workflows/release-beta.yml index af8afa4..852f40a 100644 --- a/.github/workflows/release-beta.yml +++ b/.github/workflows/release-beta.yml @@ -136,6 +136,8 @@ jobs: needs: release runs-on: ubuntu-latest permissions: + checks: write + contents: write actions: write steps: - name: Checkout diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3cd4cfb..afc70e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -136,6 +136,8 @@ jobs: needs: release runs-on: ubuntu-latest permissions: + checks: write + contents: write actions: write steps: - name: Checkout diff --git a/.projenrc.js b/.projenrc.js index 6090460..8a65105 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -91,7 +91,11 @@ const integrationTestJob = { integration_tests: { runsOn: 'ubuntu-latest', needs: 'release', - permissions: { actions: 'write' }, + permissions: { + checks: 'write', + contents: 'write', + actions: 'write', + }, steps: [ { name: 'Checkout',