diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-06-12 12:52:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-12 12:52:20 +0300 |
commit | b278530f652f1c3ed017cea981af546fd88c675a (patch) | |
tree | 369b93edc408254a5416345b0b63d05106b9fb43 | |
parent | c205bef0702984092d4f4ffcfdaeec761b46de06 (diff) | |
parent | dd41f32afbe94e70f2af4b87f3f24c594e9a7ba8 (diff) |
Merge pull request #770 from nextcloud/feat/workflow-auto-update-command-rebase.yml
-rw-r--r-- | .github/workflows/command-rebase.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/command-rebase.yml b/.github/workflows/command-rebase.yml index 5ad39a1..78fcf5d 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 }} |