Updating command-rebase.yml workflow from template

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
This commit is contained in:
Nextcloud bot 2022-06-11 15:42:34 +00:00
parent f1566e23a0
commit cd68ddb0ed

View File

@ -9,9 +9,14 @@ on:
issue_comment: issue_comment:
types: created types: created
permissions:
contents: read
jobs: jobs:
rebase: rebase:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: none
# On pull requests and if the comment starts with `/rebase` # On pull requests and if the comment starts with `/rebase`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase') if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')