diff options
author | Nextcloud Command Bot <88102737+nextcloud-command@users.noreply.github.com> | 2022-06-26 19:49:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 19:49:33 +0300 |
commit | 6b93f3cdb99544bcf0cc3e3cd96b43c13a36ee75 (patch) | |
tree | 6f02ae06a2a648771794fd64b61e9869257deeae /.github | |
parent | 644db4788bc869a935c2d14c7428e9749fd634db (diff) |
Updating command-rebase.yml workflow from template (#387)
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Co-authored-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to '.github')
-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 }} |