Skip to content

Commit 8bdbce7

Browse files
committed
chore: add atomgit mirror
1 parent f56a4d6 commit 8bdbce7

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#example-of-a-codeowners-file
2-
* @jiacai2050 @xihale
2+
3+
* @jiacai2050 @xihale @jinzhongjia

.github/workflows/mirror.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,14 @@ jobs:
1616
fetch-depth: 0
1717
- run: |
1818
git push --tags --force https://${{ secrets.CBTOKEN }}@codeberg.org/jiacai2050/zigcc.git "refs/remotes/origin/*:refs/heads/*"
19+
20+
atomgit:
21+
if: github.repository_owner == 'zigcc'
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
27+
- uses: pixta-dev/repository-mirroring-action@v1
28+
with:
29+
target_repo_url: https://jiacai2050:${{ secrets.ATOMGIT_TOKEN }}@atomgit.com/${{ github.repository }}.git

0 commit comments

Comments
 (0)