Skip to content

Commit 6e471ca

Browse files
committed
🧱 Fix mirroring workflow definition
1 parent c6afb49 commit 6e471ca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/mirror.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ jobs:
1919
- uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
22-
- env:
22+
- name: Mirror
23+
env:
2324
MR_PAT: ${{ secrets.MR_PAT }}
2425
run: |
25-
git remote add mirror https://x-access-token:${MR_PAT}@github.com/jetbrains/qodana-cli-ci.git
26+
git ls-remote https://x-access-token:${MR_PAT}@github.com/jetbrains/qodana-cli-ci.git
27+
git remote add mirror https://x-access-token:${MR_PAT}@github.com/jetbrains/qodana-cli-ci.git
2628
git push --force mirror main
2729
git push --force mirror '2*'
2830
git push --tags mirror

0 commit comments

Comments
 (0)