Create mirror.yml

This commit is contained in:
Gaspard Wierzbinski 2024-11-04 11:26:25 +01:00 committed by GitHub
parent 1e4e1ff603
commit ae463260b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

16
.github/workflows/mirror.yml vendored Normal file
View file

@ -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 }}