Skip to content

Commit 2b3c25b

Browse files
authored
Update mirror-to-gitlab.yml
1 parent c2d3741 commit 2b3c25b

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎.github/workflows/mirror-to-gitlab.yml‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,20 @@ on:
66
tags: ['**']
77
release:
88
types: [published]
9-
109
jobs:
1110
mirror:
1211
runs-on: ubuntu-latest
12+
env:
13+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
1314
steps:
1415
- name: Checkout (full history)
1516
uses: actions/checkout@v4.2.2
1617
with:
17-
fetch-depth: 0 # complete history including tags
18-
18+
fetch-depth: 0
1919
- name: Mirror to GitLab
2020
env:
21-
GITLAB_URL: ${{ secrets.GITLAB_URL }}
22-
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
23-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
21+
GITLAB_URL: ${{ secrets.GITLAB_URL }}
22+
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
2423
run: |
2524
git remote add gitlab "https://oauth2:${GITLAB_TOKEN}@${GITLAB_URL#https://}"
2625
git push gitlab --all --force

0 commit comments

Comments
 (0)