Skip to content

Commit

Permalink
github: add sync
Browse files Browse the repository at this point in the history
  • Loading branch information
kofemann committed Oct 10, 2024
1 parent ead4f3e commit 7a3dc8e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Mirror and run GitLab CI

on:
push:
pull_request:
types: [opened, reopened]

jobs:
to_gitlab:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Mirror + trigger CI
uses: SvanBoxel/[email protected]
with:
args: "https://gitlab.desy.de/tigran/gitlab-sync-test"
env:
FOLLOW_TAGS: "true"
FORCE_PUSH: "false"
GITLAB_HOSTNAME: "gitlab.desy.de"
GITLAB_USERNAME: "dcache"
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
GITLAB_PROJECT_ID: "15353"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
POLL_TIMEOUT: 60

0 comments on commit 7a3dc8e

Please sign in to comment.