From 9c81bfa1a77c037ffe7a307a727447d708566ab3 Mon Sep 17 00:00:00 2001 From: George Adams Date: Wed, 6 Mar 2024 17:46:30 +0000 Subject: [PATCH] fix GH token permissions (#836) --- .github/workflows/code-freeze.yml | 4 ++++ .github/workflows/dependabot-auto-merge.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/code-freeze.yml b/.github/workflows/code-freeze.yml index 83ffd2746..5f06ab68f 100644 --- a/.github/workflows/code-freeze.yml +++ b/.github/workflows/code-freeze.yml @@ -7,6 +7,10 @@ on: issue_comment: types: [created] +permissions: + contents: write + pull-requests: write + jobs: codefreeze: uses: adoptium/.github/.github/workflows/code-freeze.yml@main diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 296494601..be789c6c5 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -1,6 +1,10 @@ name: Dependabot auto-merge on: pull_request_target +permissions: + contents: write + pull-requests: write + jobs: dependabot: uses: adoptium/.github/.github/workflows/dependabot-auto-merge.yml@main