Skip to content

Commit 2e4c6c4

Browse files
committed
refactor: rename git-mirror-action to multi-git-mirror across entire project
1 parent 9cce1f3 commit 2e4c6c4

21 files changed

Lines changed: 102 additions & 102 deletions

.github/workflows/bitbucket-mirror.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
lfs: true
1717

1818
- name: Mirror to Bitbucket
19-
# uses: somaz94/git-mirror-action@v1
19+
# uses: somaz94/multi-git-mirror@v1
2020
uses: ./
2121
with:
2222
targets: |
23-
bitbucket::https://bitbucket.org/somaz94/git-mirror-action.git
23+
bitbucket::https://bitbucket.org/somaz94/multi-git-mirror.git
2424
bitbucket_username: ${{ secrets.BITBUCKET_USERNAME }}
2525
bitbucket_api_token: ${{ secrets.BITBUCKET_TOKEN }}
2626
mirror_branches: 'all'

.github/workflows/ci.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
ports:
4343
- 5001:5000
4444
env:
45-
TEST_TAG: localhost:5001/actions/git-mirror-action:latest
45+
TEST_TAG: localhost:5001/actions/multi-git-mirror:latest
4646
steps:
4747
- name: Checkout
4848
uses: actions/checkout@v6
@@ -67,7 +67,7 @@ jobs:
6767
- name: 'Test: Docker dry-run with GitHub public repo'
6868
run: |
6969
docker run \
70-
--env INPUT_TARGETS="github::https://github.com/somaz94/git-mirror-action.git" \
70+
--env INPUT_TARGETS="github::https://github.com/somaz94/multi-git-mirror.git" \
7171
--env INPUT_MIRROR_BRANCHES="all" \
7272
--env INPUT_DRY_RUN="true" \
7373
--env INPUT_DEBUG="true" \
@@ -77,7 +77,7 @@ jobs:
7777
- name: 'Test: Docker dry-run multi-target parallel (GitHub + GitLab)'
7878
run: |
7979
docker run \
80-
--env INPUT_TARGETS="$(printf 'github::https://github.com/somaz94/git-mirror-action.git\ngitlab::https://gitlab.com/backup6695808/git-mirror-action.git')" \
80+
--env INPUT_TARGETS="$(printf 'github::https://github.com/somaz94/multi-git-mirror.git\ngitlab::https://gitlab.com/backup6695808/multi-git-mirror.git')" \
8181
--env INPUT_GITLAB_TOKEN="${{ secrets.GITLAB_TOKEN }}" \
8282
--env INPUT_MIRROR_BRANCHES="all" \
8383
--env INPUT_DRY_RUN="true" \
@@ -126,74 +126,74 @@ jobs:
126126
go-version: '1.24'
127127

128128
- name: Build binary
129-
run: go build -o git-mirror-action ./cmd/main.go
129+
run: go build -o multi-git-mirror ./cmd/main.go
130130

131131
- name: 'Test: dry-run with GitHub public repo (exit 0)'
132132
run: |
133-
INPUT_TARGETS="github::https://github.com/somaz94/git-mirror-action.git" \
133+
INPUT_TARGETS="github::https://github.com/somaz94/multi-git-mirror.git" \
134134
INPUT_MIRROR_BRANCHES="all" \
135135
INPUT_DRY_RUN="true" \
136136
INPUT_DEBUG="true" \
137-
./git-mirror-action
137+
./multi-git-mirror
138138
echo "PASS: dry-run with GitHub succeeded"
139139
140140
- name: 'Test: dry-run with GitLab repo (exit 0)'
141141
run: |
142-
INPUT_TARGETS="gitlab::https://gitlab.com/backup6695808/git-mirror-action.git" \
142+
INPUT_TARGETS="gitlab::https://gitlab.com/backup6695808/multi-git-mirror.git" \
143143
INPUT_GITLAB_TOKEN="${{ secrets.GITLAB_TOKEN }}" \
144144
INPUT_MIRROR_BRANCHES="all" \
145145
INPUT_EXCLUDE_BRANCHES="staging,hotfix" \
146146
INPUT_DRY_RUN="true" \
147147
INPUT_DEBUG="true" \
148-
./git-mirror-action
148+
./multi-git-mirror
149149
echo "PASS: dry-run with GitLab + exclude branches succeeded"
150150
151151
- name: 'Test: dry-run multi-target parallel with retry (GitHub + GitLab)'
152152
run: |
153-
INPUT_TARGETS="$(printf 'github::https://github.com/somaz94/git-mirror-action.git\ngitlab::https://gitlab.com/backup6695808/git-mirror-action.git')" \
153+
INPUT_TARGETS="$(printf 'github::https://github.com/somaz94/multi-git-mirror.git\ngitlab::https://gitlab.com/backup6695808/multi-git-mirror.git')" \
154154
INPUT_GITLAB_TOKEN="${{ secrets.GITLAB_TOKEN }}" \
155155
INPUT_MIRROR_BRANCHES="all" \
156156
INPUT_RETRY_COUNT="2" \
157157
INPUT_RETRY_DELAY="1" \
158158
INPUT_DRY_RUN="true" \
159159
INPUT_PARALLEL="true" \
160160
INPUT_DEBUG="true" \
161-
./git-mirror-action
161+
./multi-git-mirror
162162
echo "PASS: dry-run multi-target parallel with retry succeeded"
163163
164164
- name: 'Test: dry-run with specific branch (exit 0)'
165165
run: |
166-
INPUT_TARGETS="github::https://github.com/somaz94/git-mirror-action.git" \
166+
INPUT_TARGETS="github::https://github.com/somaz94/multi-git-mirror.git" \
167167
INPUT_MIRROR_BRANCHES="main" \
168168
INPUT_DRY_RUN="true" \
169-
./git-mirror-action
169+
./multi-git-mirror
170170
echo "PASS: dry-run with specific branch succeeded"
171171
172172
- name: 'Test: missing targets fails (exit 1)'
173173
run: |
174-
! INPUT_MIRROR_BRANCHES="all" ./git-mirror-action
174+
! INPUT_MIRROR_BRANCHES="all" ./multi-git-mirror
175175
echo "PASS: missing targets correctly rejected"
176176
177177
- name: 'Test: unknown provider fails (exit 1)'
178178
run: |
179179
! INPUT_TARGETS="invalid::https://example.com/org/repo.git" \
180180
INPUT_MIRROR_BRANCHES="all" \
181-
./git-mirror-action
181+
./multi-git-mirror
182182
echo "PASS: unknown provider correctly rejected"
183183
184184
- name: 'Test: empty branches fails (exit 1)'
185185
run: |
186186
! INPUT_TARGETS="generic::https://example.com/org/repo.git" \
187187
INPUT_MIRROR_BRANCHES="" \
188-
./git-mirror-action
188+
./multi-git-mirror
189189
echo "PASS: empty branches correctly rejected"
190190
191191
- name: 'Test: dry-run fails with unreachable URL (exit 1)'
192192
run: |
193193
! INPUT_TARGETS="generic::https://example.com/org/repo.git" \
194194
INPUT_MIRROR_BRANCHES="all" \
195195
INPUT_DRY_RUN="true" \
196-
./git-mirror-action
196+
./multi-git-mirror
197197
echo "PASS: dry-run correctly fails with unreachable URL"
198198
199199
ci-result:

.github/workflows/gitlab-mirror.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: somaz94/multi-git-mirror@v1
2323
with:
2424
targets: |
25-
gitlab::https://gitlab.com/backup6695808/git-mirror-action.git
25+
gitlab::https://gitlab.com/backup6695808/multi-git-mirror.git
2626
gitlab_token: ${{ secrets.GITLAB_TOKEN }}
2727
mirror_branches: 'all'
2828
mirror_tags: 'true'

.github/workflows/use-action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Mirror dry-run (single target)
3232
id: mirror-single
33-
uses: somaz94/git-mirror-action@v1
33+
uses: somaz94/multi-git-mirror@v1
3434
continue-on-error: true
3535
with:
3636
targets: |
@@ -52,7 +52,7 @@ jobs:
5252
5353
- name: Mirror dry-run (multi-target with options)
5454
id: mirror-multi
55-
uses: somaz94/git-mirror-action@v1
55+
uses: somaz94/multi-git-mirror@v1
5656
continue-on-error: true
5757
with:
5858
targets: |

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Binary
2-
git-mirror-action
2+
multi-git-mirror
33
main
44
*.out
55

CHANGELOG.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,72 +2,72 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## [v1.0.1](https://github.com/somaz94/git-mirror-action/compare/v1.0.0...v1.0.1) (2026-03-18)
5+
## [v1.0.1](https://github.com/somaz94/multi-git-mirror/compare/v1.0.0...v1.0.1) (2026-03-18)
66

77
### Bug Fixes
88

9-
- use secrets for Bitbucket username and document x-token-auth usage ([0903b9e](https://github.com/somaz94/git-mirror-action/commit/0903b9ed8b4e3c3182621404afff2c4ffc9d5da5))
10-
- use local action in bitbucket-mirror.yml until next release ([a5d0211](https://github.com/somaz94/git-mirror-action/commit/a5d0211bed0a3efe08eb1133a4a0fd5a6acf7ee2))
9+
- use secrets for Bitbucket username and document x-token-auth usage ([0903b9e](https://github.com/somaz94/multi-git-mirror/commit/0903b9ed8b4e3c3182621404afff2c4ffc9d5da5))
10+
- use local action in bitbucket-mirror.yml until next release ([a5d0211](https://github.com/somaz94/multi-git-mirror/commit/a5d0211bed0a3efe08eb1133a4a0fd5a6acf7ee2))
1111

1212
### Code Refactoring
1313

14-
- rename bitbucket_password to bitbucket_api_token ([6d523b4](https://github.com/somaz94/git-mirror-action/commit/6d523b4f3a7e835b488bb5597ec6d0d9c6286f6f))
14+
- rename bitbucket_password to bitbucket_api_token ([6d523b4](https://github.com/somaz94/multi-git-mirror/commit/6d523b4f3a7e835b488bb5597ec6d0d9c6286f6f))
1515

1616
### Documentation
1717

18-
- note Workspace Access Token requires Bitbucket Premium plan ([bec56b9](https://github.com/somaz94/git-mirror-action/commit/bec56b9cea5e08ec8fbafb815d35bf2edeee8cc4))
19-
- update Bitbucket auth guide with Repository/Workspace Access Tokens ([4369237](https://github.com/somaz94/git-mirror-action/commit/4369237470d747bf4623a51a504d14cfd8b6a460))
20-
- update CONTRIBUTORS.md ([4a88a78](https://github.com/somaz94/git-mirror-action/commit/4a88a78a32ffd63874f2bc35815b93a3111efe94))
21-
- update changelog ([6021cac](https://github.com/somaz94/git-mirror-action/commit/6021cacb44a7bba1d08bc1ee627418cf62cee60e))
18+
- note Workspace Access Token requires Bitbucket Premium plan ([bec56b9](https://github.com/somaz94/multi-git-mirror/commit/bec56b9cea5e08ec8fbafb815d35bf2edeee8cc4))
19+
- update Bitbucket auth guide with Repository/Workspace Access Tokens ([4369237](https://github.com/somaz94/multi-git-mirror/commit/4369237470d747bf4623a51a504d14cfd8b6a460))
20+
- update CONTRIBUTORS.md ([4a88a78](https://github.com/somaz94/multi-git-mirror/commit/4a88a78a32ffd63874f2bc35815b93a3111efe94))
21+
- update changelog ([6021cac](https://github.com/somaz94/multi-git-mirror/commit/6021cacb44a7bba1d08bc1ee627418cf62cee60e))
2222

2323
### Continuous Integration
2424

25-
- disable Bitbucket tests until plan issue is resolved ([c07baa4](https://github.com/somaz94/git-mirror-action/commit/c07baa471b77f1478dcf6d5699d2b93b2f2f199d))
26-
- add Bitbucket mirror workflow and Bitbucket CI tests ([221443e](https://github.com/somaz94/git-mirror-action/commit/221443e44af6159571255fe7268650abb451412d))
25+
- disable Bitbucket tests until plan issue is resolved ([c07baa4](https://github.com/somaz94/multi-git-mirror/commit/c07baa471b77f1478dcf6d5699d2b93b2f2f199d))
26+
- add Bitbucket mirror workflow and Bitbucket CI tests ([221443e](https://github.com/somaz94/multi-git-mirror/commit/221443e44af6159571255fe7268650abb451412d))
2727

2828
### Contributors
2929

3030
- somaz
3131

3232
<br/>
3333

34-
## [v1.0.0](https://github.com/somaz94/git-mirror-action/releases/tag/v1.0.0) (2026-03-18)
34+
## [v1.0.0](https://github.com/somaz94/multi-git-mirror/releases/tag/v1.0.0) (2026-03-18)
3535

3636
### Features
3737

38-
- add retry, pre-check, exclude branches, and parallel mirroring ([7165fea](https://github.com/somaz94/git-mirror-action/commit/7165fea86181e48f994b3ab9fb04a5005e0f72cb))
39-
- scaffold Go-based git-mirror-action project structure ([5529b82](https://github.com/somaz94/git-mirror-action/commit/5529b826a354f67829bd3692df46c4c631760641))
38+
- add retry, pre-check, exclude branches, and parallel mirroring ([7165fea](https://github.com/somaz94/multi-git-mirror/commit/7165fea86181e48f994b3ab9fb04a5005e0f72cb))
39+
- scaffold Go-based multi-git-mirror project structure ([5529b82](https://github.com/somaz94/multi-git-mirror/commit/5529b826a354f67829bd3692df46c4c631760641))
4040

4141
### Bug Fixes
4242

43-
- resolve parallel race condition, add mutex and prevent credential prompts ([d2802e5](https://github.com/somaz94/git-mirror-action/commit/d2802e543f59d8b71d85a14c0e86521ec3aa126c))
44-
- ensure git repo exists for Docker dry-run and improve CI test targets ([7aadbb3](https://github.com/somaz94/git-mirror-action/commit/7aadbb3bbc7edf66a390656d81fb652d1cf1ef76))
45-
- **ci:** use exit code validation instead of grep on annotations ([f749cbe](https://github.com/somaz94/git-mirror-action/commit/f749cbec8d37cd98c7a3f44d117d1e60564d8780))
46-
- improve security for all providers ([a1276f2](https://github.com/somaz94/git-mirror-action/commit/a1276f20c04b598b5a47c846e2f2164089c91b02))
47-
- add git-lfs to Docker image to prevent pre-push hook failure ([8a1ef8d](https://github.com/somaz94/git-mirror-action/commit/8a1ef8de32480b8af30b6c81ffa02720ba666d49))
48-
- **ci:** remove deprecated buildx install input and add missing env vars ([423456e](https://github.com/somaz94/git-mirror-action/commit/423456e101d417e7e0a7ac5bf6031f45444cc596))
49-
- add safe.directory config for Docker workspace ownership ([915f76d](https://github.com/somaz94/git-mirror-action/commit/915f76d2b8b1a3b34e4c4095b61db58786c75ae9))
43+
- resolve parallel race condition, add mutex and prevent credential prompts ([d2802e5](https://github.com/somaz94/multi-git-mirror/commit/d2802e543f59d8b71d85a14c0e86521ec3aa126c))
44+
- ensure git repo exists for Docker dry-run and improve CI test targets ([7aadbb3](https://github.com/somaz94/multi-git-mirror/commit/7aadbb3bbc7edf66a390656d81fb652d1cf1ef76))
45+
- **ci:** use exit code validation instead of grep on annotations ([f749cbe](https://github.com/somaz94/multi-git-mirror/commit/f749cbec8d37cd98c7a3f44d117d1e60564d8780))
46+
- improve security for all providers ([a1276f2](https://github.com/somaz94/multi-git-mirror/commit/a1276f20c04b598b5a47c846e2f2164089c91b02))
47+
- add git-lfs to Docker image to prevent pre-push hook failure ([8a1ef8d](https://github.com/somaz94/multi-git-mirror/commit/8a1ef8de32480b8af30b6c81ffa02720ba666d49))
48+
- **ci:** remove deprecated buildx install input and add missing env vars ([423456e](https://github.com/somaz94/multi-git-mirror/commit/423456e101d417e7e0a7ac5bf6031f45444cc596))
49+
- add safe.directory config for Docker workspace ownership ([915f76d](https://github.com/somaz94/multi-git-mirror/commit/915f76d2b8b1a3b34e4c4095b61db58786c75ae9))
5050

5151
### Code Refactoring
5252

53-
- add SSH support, credential encoding, log masking, and config validation ([b09eb66](https://github.com/somaz94/git-mirror-action/commit/b09eb660354c921208782479f6b7fedca60fdd0e))
53+
- add SSH support, credential encoding, log masking, and config validation ([b09eb66](https://github.com/somaz94/multi-git-mirror/commit/b09eb660354c921208782479f6b7fedca60fdd0e))
5454

5555
### Documentation
5656

57-
- update documentation for new features and add authentication guides ([d0b4ef7](https://github.com/somaz94/git-mirror-action/commit/d0b4ef7fa0d97ac6194718d66c6a0d2bcdbf06aa))
58-
- update AUTHENTICATION.md and CLAUDE.md for new features ([230e8f8](https://github.com/somaz94/git-mirror-action/commit/230e8f88c85a319a8597da3a60ab2c47f82ab1e0))
59-
- add documentation, workflows, and GitHub configs ([f9db271](https://github.com/somaz94/git-mirror-action/commit/f9db271e885629641a040a8ace7eda3f7414f274))
57+
- update documentation for new features and add authentication guides ([d0b4ef7](https://github.com/somaz94/multi-git-mirror/commit/d0b4ef7fa0d97ac6194718d66c6a0d2bcdbf06aa))
58+
- update AUTHENTICATION.md and CLAUDE.md for new features ([230e8f8](https://github.com/somaz94/multi-git-mirror/commit/230e8f88c85a319a8597da3a60ab2c47f82ab1e0))
59+
- add documentation, workflows, and GitHub configs ([f9db271](https://github.com/somaz94/multi-git-mirror/commit/f9db271e885629641a040a8ace7eda3f7414f274))
6060

6161
### Tests
6262

63-
- improve SSH test coverage with configurable sshDir ([a337e4c](https://github.com/somaz94/git-mirror-action/commit/a337e4cf52aa754d93c1a90127cd9722b27aa781))
64-
- add tests for SSH, credential encoding, masking, and validation ([4a7d7d6](https://github.com/somaz94/git-mirror-action/commit/4a7d7d6919896cc7b9cc0c14d0a95015431cd689))
65-
- improve test coverage with mock-based tests ([7f3b1d3](https://github.com/somaz94/git-mirror-action/commit/7f3b1d3d5a4aec5469522dd0deb8559212403be2))
66-
- add unit tests for config, mirror, and output packages ([ec5a8a2](https://github.com/somaz94/git-mirror-action/commit/ec5a8a2255b8da486fdcfabe7d65c27f57168bb2))
63+
- improve SSH test coverage with configurable sshDir ([a337e4c](https://github.com/somaz94/multi-git-mirror/commit/a337e4cf52aa754d93c1a90127cd9722b27aa781))
64+
- add tests for SSH, credential encoding, masking, and validation ([4a7d7d6](https://github.com/somaz94/multi-git-mirror/commit/4a7d7d6919896cc7b9cc0c14d0a95015431cd689))
65+
- improve test coverage with mock-based tests ([7f3b1d3](https://github.com/somaz94/multi-git-mirror/commit/7f3b1d3d5a4aec5469522dd0deb8559212403be2))
66+
- add unit tests for config, mirror, and output packages ([ec5a8a2](https://github.com/somaz94/multi-git-mirror/commit/ec5a8a2255b8da486fdcfabe7d65c27f57168bb2))
6767

6868
### Continuous Integration
6969

70-
- improve CI and smoke test coverage ([87191c9](https://github.com/somaz94/git-mirror-action/commit/87191c9b5cf3b89c460f550373628a67c9f7f74a))
70+
- improve CI and smoke test coverage ([87191c9](https://github.com/somaz94/multi-git-mirror/commit/87191c9b5cf3b89c460f550373628a67c9f7f74a))
7171

7272
### Contributors
7373

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CLAUDE.md - git-mirror-action
1+
# CLAUDE.md - multi-git-mirror
22

33
GitHub Action to mirror repositories to multiple Git hosting providers (GitLab, GitHub, Bitbucket, CodeCommit, etc.) using Go.
44

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ COPY go.mod ./
77
RUN go mod download
88

99
COPY . .
10-
RUN CGO_ENABLED=0 GOOS=linux go build -o /git-mirror-action ./cmd/main.go
10+
RUN CGO_ENABLED=0 GOOS=linux go build -o /multi-git-mirror ./cmd/main.go
1111

1212
# Runtime stage
1313
FROM alpine:3.23
1414

1515
RUN apk add --no-cache git git-lfs openssh-client
1616

17-
COPY --from=builder /git-mirror-action /usr/local/bin/git-mirror-action
17+
COPY --from=builder /multi-git-mirror /usr/local/bin/multi-git-mirror
1818

19-
ENTRYPOINT ["git-mirror-action"]
19+
ENTRYPOINT ["multi-git-mirror"]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: build test test-unit test-all cover cover-html bench lint fmt clean help
22

3-
BINARY := git-mirror-action
3+
BINARY := multi-git-mirror
44
GOFLAGS := -v
55

66
## Build

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Multi Git Mirror
22

3-
[![Continuous Integration](https://github.com/somaz94/git-mirror-action/actions/workflows/ci.yml/badge.svg)](https://github.com/somaz94/git-mirror-action/actions/workflows/ci.yml)
3+
[![Continuous Integration](https://github.com/somaz94/multi-git-mirror/actions/workflows/ci.yml/badge.svg)](https://github.com/somaz94/multi-git-mirror/actions/workflows/ci.yml)
44
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
5-
[![Latest Tag](https://img.shields.io/github/v/tag/somaz94/git-mirror-action)](https://github.com/somaz94/git-mirror-action/tags)
6-
[![Top Language](https://img.shields.io/github/languages/top/somaz94/git-mirror-action)](https://github.com/somaz94/git-mirror-action)
7-
[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-Git%20Mirror%20Action-blue?logo=github)](https://github.com/marketplace/actions/git-mirror-action)
5+
[![Latest Tag](https://img.shields.io/github/v/tag/somaz94/multi-git-mirror)](https://github.com/somaz94/multi-git-mirror/tags)
6+
[![Top Language](https://img.shields.io/github/languages/top/somaz94/multi-git-mirror)](https://github.com/somaz94/multi-git-mirror)
7+
[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-Git%20Mirror%20Action-blue?logo=github)](https://github.com/marketplace/actions/multi-git-mirror)
88

99
A Go-based GitHub Action that mirrors repositories to multiple Git hosting providers — GitLab, GitHub, Bitbucket, AWS CodeCommit, and more — in a single step.
1010

@@ -47,7 +47,7 @@ steps:
4747
fetch-depth: 0
4848

4949
- name: Mirror to GitLab
50-
uses: somaz94/git-mirror-action@v1
50+
uses: somaz94/multi-git-mirror@v1
5151
with:
5252
targets: |
5353
gitlab::https://gitlab.com/myorg/myrepo.git
@@ -60,7 +60,7 @@ steps:
6060
6161
```yaml
6262
- name: Mirror to multiple targets
63-
uses: somaz94/git-mirror-action@v1
63+
uses: somaz94/multi-git-mirror@v1
6464
with:
6565
targets: |
6666
gitlab::https://gitlab.com/myorg/myrepo.git
@@ -76,7 +76,7 @@ steps:
7676
7777
```yaml
7878
- name: Mirror to Bitbucket
79-
uses: somaz94/git-mirror-action@v1
79+
uses: somaz94/multi-git-mirror@v1
8080
with:
8181
targets: |
8282
bitbucket::https://bitbucket.org/myorg/myrepo.git
@@ -90,7 +90,7 @@ steps:
9090
9191
```yaml
9292
- name: Mirror via SSH
93-
uses: somaz94/git-mirror-action@v1
93+
uses: somaz94/multi-git-mirror@v1
9494
with:
9595
targets: |
9696
generic::git@custom-git.example.com:org/repo.git
@@ -103,7 +103,7 @@ steps:
103103
104104
```yaml
105105
- name: Mirror (dry run)
106-
uses: somaz94/git-mirror-action@v1
106+
uses: somaz94/multi-git-mirror@v1
107107
id: mirror
108108
with:
109109
targets: |
@@ -145,7 +145,7 @@ jobs:
145145
tag_name: ${{ github.ref_name }}
146146

147147
- name: Mirror to backup providers
148-
uses: somaz94/git-mirror-action@v1
148+
uses: somaz94/multi-git-mirror@v1
149149
with:
150150
targets: |
151151
gitlab::https://gitlab.com/myorg/myrepo.git

0 commit comments

Comments
 (0)