From 2ed4a178d9d6608c8c5143e54294d147bd5258e5 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 29 Apr 2025 08:27:50 +0200 Subject: [PATCH] feat(ci): Enable push mirroring to RWTH GiutLab Signed-off-by: Steffen Vogel --- .github/workflows/mirror.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/mirror.yaml diff --git a/.github/workflows/mirror.yaml b/.github/workflows/mirror.yaml new file mode 100644 index 000000000..7762b1a80 --- /dev/null +++ b/.github/workflows/mirror.yaml @@ -0,0 +1,27 @@ +# SPDX-FileCopyrightText: 2025 OPAL-RT Germany GmbH +# SPDX-License-Identifier: Apache-2.0 + +--- +name: Mirror to RWTH GitLab + +on: + push: + delete: + +jobs: + mirror: + name: Mirror + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: yesolutions/mirror-action@master + with: + REMOTE: https://git.rwth-aachen.de/acs/public/villas/node.git + GIT_USERNAME: github + GIT_PASSWORD: ${{ secrets.RWTH_GITLAB_TOKEN }} + PUSH_ALL_REFS: "false"