diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2022-09-05 17:27:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 17:27:15 +0300 |
commit | 8771963e9f2cfac2f7e4cdfa0ee0856503b759f8 (patch) | |
tree | 2e682f0a67c0b9dfebdb26e0bc920d3a36365856 | |
parent | 9f676100f527aefe5ed964fcf98d6145397359a6 (diff) | |
parent | 628561e547815110f02d38880c0845c6b0463c7d (diff) |
Merge pull request #736 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
-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 }} |