diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-06-11 18:22:17 +0300 |
---|---|---|
committer | Nextcloud bot <bot@nextcloud.com> | 2022-06-11 18:22:17 +0300 |
commit | dd41f32afbe94e70f2af4b87f3f24c594e9a7ba8 (patch) | |
tree | 6e3146f09c62688ddf09c2769a23d22f4effc0f5 | |
parent | 573e0b1298d8d41c7bc01a33b9227dd12c4518f1 (diff) |
Updating command-rebase.yml workflow from templatefeat/workflow-auto-update-command-rebase.yml
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
-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 }} |