diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-06-12 12:52:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-12 12:52:55 +0300 |
commit | fa262745b551e3caa1379fd0b7091e0db297bdfe (patch) | |
tree | 5acf5694e9a6a56d84241d6f5d1089ed9399a4fa | |
parent | ca1073dd1fd7c34a019655ece926f904c66558e3 (diff) | |
parent | 0228a6fe9cbf8ec3d12cc3b1e6bfe1c303dbe4fe (diff) |
Merge pull request #369 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 }} |