diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-04-26 18:29:24 +0300 |
---|---|---|
committer | Nextcloud bot <bot@nextcloud.com> | 2022-04-26 18:29:24 +0300 |
commit | 8d6da83165d63ab06ae7e98c457aa1da3d578131 (patch) | |
tree | b7f41027f270479140c0ad988dfc3b540a1ec81d | |
parent | 79d2fd6f090dce1ea673faf21e240eec3c529870 (diff) |
Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
-rw-r--r-- | .github/workflows/command-rebase.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/command-rebase.yml b/.github/workflows/command-rebase.yml index 80037056..a99b3d63 100644 --- a/.github/workflows/command-rebase.yml +++ b/.github/workflows/command-rebase.yml @@ -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 }} @@ -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 }} |