Skip to content

Commit 5bc4e83

Browse files
committed
Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
1 parent f8f4985 commit 5bc4e83

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/command-rebase.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ on:
99
issue_comment:
1010
types: created
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
rebase:
1417
runs-on: ubuntu-latest
18+
permissions:
19+
contents: none
1520

1621
# On pull requests and if the comment starts with `/rebase`
1722
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
@@ -32,7 +37,7 @@ jobs:
3237
token: ${{ secrets.COMMAND_BOT_PAT }}
3338

3439
- name: Automatic Rebase
35-
uses: cirrus-actions/rebase@1.6
40+
uses: cirrus-actions/rebase@1.7
3641
env:
3742
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
3843

0 commit comments

Comments
 (0)