diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-06-11 15:14:59 +0000 |
---|---|---|
committer | Nextcloud bot <bot@nextcloud.com> | 2022-06-11 15:14:59 +0000 |
commit | 88822ce033d72560629b22e6c36275132bd744e2 (patch) | |
tree | 5a1233db82d9e47732973aa7a15bf2e020bf4e8f /.github/workflows | |
parent | 8efdf1d78b63c669d1e580d3639e33d00230a3b4 (diff) |
Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to '.github/workflows')
-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 5ad39a1e..78fcf5d1 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 }} |