From: Nextcloud bot Date: Tue, 26 Apr 2022 15:41:41 +0000 (+0000) Subject: Updating command-rebase.yml workflow from template X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~15^2~241^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6d65443ca3663762eafccdf4e99c32264ea6d497;p=nextcloud-desktop.git Updating command-rebase.yml workflow from template Signed-off-by: Nextcloud bot --- diff --git a/.github/workflows/command-rebase.yml b/.github/workflows/command-rebase.yml index c497cb38e..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 }} @@ -26,18 +26,21 @@ jobs: reaction-type: "+1" - name: Checkout the latest code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: 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 }}