diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-06-14 10:41:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 10:41:23 +0300 |
commit | 4d74daa0bb737c9f23211c9233fa6396026fb5e1 (patch) | |
tree | 9d44b53d56f4442427bb6c2a64a9205368ea9538 /.github | |
parent | 8dd66bad21395991ff36e84039ee7ae3f519c2b1 (diff) | |
parent | e9ef1396b8f88fe38fa6dfc7d5f64e3be9468e2e (diff) |
Merge pull request #1225 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
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 }} |