Skip to content

Commit 1029044

Browse files
committed
github: enable gitlab mirroring
1 parent 8404237 commit 1029044

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/mirror.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Mirror and run GitLab CI
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
to_gitlab:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
13+
- name: Mirror + trigger CI
14+
uses: SvanBoxel/gitlab-mirror-and-ci-action@0.6
15+
with:
16+
args: "https://gitlab.desy.de/dcache/release-notes"
17+
env:
18+
FOLLOW_TAGS: "true"
19+
FORCE_PUSH: "false"
20+
GITLAB_HOSTNAME: "gitlab.desy.de"
21+
GITLAB_USERNAME: "dcache"
22+
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
23+
GITLAB_PROJECT_ID: "17733"
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
POLL_TIMEOUT: 60

0 commit comments

Comments
 (0)