summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-08-10 12:46:55 +0200
committerGitHub <noreply@github.com>2022-08-10 12:46:55 +0200
commitbda2068ce06d11e31f4b0ea35d28c5cd31961f9c (patch)
tree2afc25fb67e652735652edec13f9627f45135bcb /.github
parentd17e0699f3e99053d4feac01cbf7c84c49ae34c5 (diff)
parent6ae3fcf9b5806ee758b28fd2ad35e7b5a7b3ab49 (diff)
downloadnextcloud-server-bda2068ce06d11e31f4b0ea35d28c5cd31961f9c.tar.gz
nextcloud-server-bda2068ce06d11e31f4b0ea35d28c5cd31961f9c.zip
Merge pull request #32830 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/command-rebase.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/command-rebase.yml b/.github/workflows/command-rebase.yml
index 5ad39a1e2de..78fcf5d1918 100644
--- a/.github/workflows/command-rebase.yml
+++ b/.github/workflows/command-rebase.yml
@@ -9,9 +9,14 @@ on:
issue_comment:
types: created
+permissions:
+ contents: read
+
jobs:
rebase:
runs-on: ubuntu-latest
+ permissions:
+ contents: none
# On pull requests and if the comment starts with `/rebase`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
@@ -32,7 +37,7 @@ jobs:
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
- uses: cirrus-actions/rebase@1.6
+ uses: cirrus-actions/rebase@1.7
env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}