From 4ea9adc2671047f9111d8fd11729bfb55858511b Mon Sep 17 00:00:00 2001 From: Daniel Kotik Date: Thu, 13 Jun 2024 13:42:14 +0200 Subject: [PATCH] Update mirror-to-casus.yml: - Update workflow name to match style of the other workflows - Fix: Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. - Fix indentation isues --- .github/workflows/mirror-to-casus.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/mirror-to-casus.yml b/.github/workflows/mirror-to-casus.yml index a231093bc..a862d6cac 100644 --- a/.github/workflows/mirror-to-casus.yml +++ b/.github/workflows/mirror-to-casus.yml @@ -1,4 +1,4 @@ -name: mirror +name: Mirror to CASUS on: [push, delete] @@ -6,13 +6,14 @@ jobs: mirror-to-CASUS: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: mirror-repository - uses: spyoungtech/mirror-action@v0.6.0 - with: - REMOTE: 'ssh://git@github.com/casus/mala.git' - GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_KEY }} - GIT_SSH_NO_VERIFY_HOST: "true" - DEBUG: "true" + - name: Check out repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: mirror-repository + uses: spyoungtech/mirror-action@v0.6.0 + with: + REMOTE: 'ssh://git@github.com/casus/mala.git' + GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_KEY }} + GIT_SSH_NO_VERIFY_HOST: "true" + DEBUG: "true"