diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index cbd2086..391cb3e 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -1,18 +1,12 @@ name: mirror +on: [push] + permissions: contents: read -on: [push] - jobs: mirror: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - with: - fetch-depth: 0 - - uses: yesolutions/mirror-action@1708f16cdb28634fd3ba10c5c79abc91f5578a14 # v0.7.0 - with: - REMOTE: "https://codeberg.org/FyraStack/bind9-rest-api.git" - GIT_USERNAME: ${{ secrets.GIT_USERNAME }} - GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }} + uses: FyraLabs/actions/.github/workflows/mirror.yml@main + secrets: + GIT_USERNAME: ${{ secrets.GIT_USERNAME }} + GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}