Skip to content

Commit

Permalink
Merge pull request #702 from nextcloud/feat/workflow-auto-update-comm…
Browse files Browse the repository at this point in the history
…and-rebase.yml

Updating command-rebase.yml workflow from template
  • Loading branch information
icewind1991 authored May 10, 2022
2 parents 4ded2bd + 6782295 commit 77885a9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/command-rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
Expand All @@ -31,13 +31,16 @@ jobs:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}

- name: Fix permissions
run: git config --global --add safe.directory /github/workspace

- name: Automatic Rebase
uses: cirrus-actions/rebase@1.5
env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}

- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
Expand Down

0 comments on commit 77885a9

Please sign in to comment.