diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 0ad537375..7c65edeef 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-format') || (github.event_name != 'schedule') # Ensure that we don't run this on a schedule in a fork