Skip to content

Commit 69215f1

Browse files
committed
Restrict permissions for combine-prs job
1 parent aef30aa commit 69215f1

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/ci-combine-bot-prs.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,22 @@ name: Combine Bot PRs
33
on:
44
workflow_dispatch:
55

6-
# The minimum permissions required to run this Action
76
permissions:
8-
contents: write
9-
pull-requests: write
10-
checks: read
7+
contents: read
118

129
jobs:
1310
combine-wrapperbot-prs:
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
checks: read
1415
if: github.repository == 'gradle/actions'
1516
runs-on: ubuntu-latest
1617
steps:
1718
- name: combine-wrapperbot-prs
1819
uses: github/[email protected]
1920
with:
2021
branch_prefix: wrapperbot
22+
combine_branch_name: wrapperbot/combined-wrapper-updates
2123
pr_title: 'Bump Gradle Wrappers'
2224
ci_required: "false"
23-
github_token: ${{ secrets.BOT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)