Create mirror.yml
This commit is contained in:
parent
1e4e1ff603
commit
ae463260b4
16
.github/workflows/mirror.yml
vendored
Normal file
16
.github/workflows/mirror.yml
vendored
Normal 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 }}
|
||||
Loading…
Reference in a new issue