diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-04-26 16:05:28 +0000 |
---|---|---|
committer | Nextcloud bot <bot@nextcloud.com> | 2022-04-26 16:05:28 +0000 |
commit | 2425a7effc6aeadc9e5ad151a95d6ee8c6346615 (patch) | |
tree | 1144196318165129f7a6a42460a5793874ef0453 /.github/workflows | |
parent | b72c619d4baa7ef6248289426e88e4a148823271 (diff) | |
download | nextcloud-server-2425a7effc6aeadc9e5ad151a95d6ee8c6346615.tar.gz nextcloud-server-2425a7effc6aeadc9e5ad151a95d6ee8c6346615.zip |
Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to '.github/workflows')
-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 80037056f8d..a99b3d6336f 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 }} |