0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-02-02 17:48:27 +01:00

Merge pull request #1739 from nextcloud/feat/workflow-auto-update-command-rebase.yml

This commit is contained in:
John Molakvoæ 2022-06-15 08:17:06 +02:00 committed by GitHub
commit e88d8e4681
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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')
@ -32,7 +37,7 @@ jobs:
token: ${{ secrets.COMMAND_BOT_PAT }} token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase - name: Automatic Rebase
uses: cirrus-actions/rebase@1.5 uses: cirrus-actions/rebase@1.7
env: env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }} GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}