From ae463260b4b22d3f7996d00b1c6766597f4bb0ab Mon Sep 17 00:00:00 2001 From: Gaspard Wierzbinski Date: Mon, 4 Nov 2024 11:26:25 +0100 Subject: [PATCH] Create mirror.yml --- .github/workflows/mirror.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/mirror.yml diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..47c98ee --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,16 @@ +on: [workflow_call] + +jobs: + mirror: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: "https://codeberg.org/${{ github.action_repository }}.git" + GIT_USERNAME: CPlusPatch + GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }}