diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-06-15 09:17:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 09:17:06 +0300 |
commit | e88d8e468168228b880b3c5b6ef0fe9a1eb39d2e (patch) | |
tree | 5ee304cbbf707361115871ec951684cab263ef0e | |
parent | 00d88733d0d93d0abc628c7b18bc589181c34cbb (diff) | |
parent | ce6a8744711eb142f89fb6c43f28299167236dba (diff) |
Merge pull request #1739 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 4e41c31..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.5 + uses: cirrus-actions/rebase@1.7 env: GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }} |