diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-08-05 16:12:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-05 16:12:07 +0200 |
commit | c78769ff2875346641aab2a1681907a9e8e16329 (patch) | |
tree | 9a3cf00549cbdbcd5af5f1dcdfc5677f0b2bacb7 /.github/workflows | |
parent | 3ade5f88d437f7b8c6a1e393d6fdbef20cb98c6a (diff) | |
parent | 88822ce033d72560629b22e6c36275132bd744e2 (diff) |
Merge pull request #2781 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
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 }} |