You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow write permissions in workflow that creates auto merge PR
Without this, pushing the new branch fails when the repository doesn’t allow write permission to all workflows by default (which repos in swiftlang don’t).
# 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
27
+
# permissions:
28
+
# contents: write
29
+
# pull-requests: write
27
30
# with:
28
31
# base_branch: release/6.2
29
32
@@ -47,6 +50,9 @@ jobs:
47
50
create_merge_pr:
48
51
name: Create PR to merge ${{ inputs.head_branch }} into ${{ inputs.base_branch }} branch
0 commit comments