From cae75da56964afd9343969a86a509643964a2a1b Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Thu, 17 Apr 2025 09:57:32 -0700 Subject: [PATCH] Grant write permissions for content an pull requests to auto merge GitHub action --- .github/workflows/automerge.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 3d8b1595646..b260e72b4ed 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -11,4 +11,7 @@ jobs: uses: swiftlang/github-workflows/.github/workflows/create_automerge_pr.yml@main with: base_branch: release/6.2 + permissions: + contents: write + pull-requests: write if: (github.event_name == 'schedule' && github.repository == 'swiftlang/swift-syntax') || (github.event_name != 'schedule') # Ensure that we don't run this on a schedule in a fork