diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-04-26 23:27:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-26 23:27:58 +0200 |
commit | 17684e718555ba79e3c2b702f0262fbe3aa66e2e (patch) | |
tree | 1144196318165129f7a6a42460a5793874ef0453 | |
parent | b72c619d4baa7ef6248289426e88e4a148823271 (diff) | |
parent | 2425a7effc6aeadc9e5ad151a95d6ee8c6346615 (diff) | |
download | nextcloud-server-17684e718555ba79e3c2b702f0262fbe3aa66e2e.tar.gz nextcloud-server-17684e718555ba79e3c2b702f0262fbe3aa66e2e.zip |
Merge pull request #32167 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
-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 }} |