diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-04-26 18:21:46 +0300 |
---|---|---|
committer | Nextcloud bot <bot@nextcloud.com> | 2022-04-26 18:21:46 +0300 |
commit | e074c370a4009ba87b5bbdeaa23da10460917bab (patch) | |
tree | 1c343af09a7f5a41bccc9698974c07db8645ddd9 /.github | |
parent | f0a3661389ed1457ff10d2d249fff118436b64a5 (diff) |
Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to '.github')
-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 80037056f..a99b3d633 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 }} |