File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,20 +2,26 @@ name: Mirror and run GitLab CI
22
33on :
44 push :
5+ workflow_run :
6+ workflows : ["Mirror and run GitLab CI"]
7+ types : [completed]
58
69jobs :
710 to_gitlab :
11+ if : |
12+ github.event_name == 'push' ||
13+ (github.event_name == 'workflow_run' &&
14+ github.event.workflow_run.conclusion == 'failure' &&
15+ github.event.workflow_run.run_attempt < 3)
816 runs-on : ubuntu-latest
9- env :
10- ACTIONS_STEP_DEBUG : " true"
1117 steps :
1218 - uses : actions/checkout@v4
1319 with :
1420 fetch-depth : 0
1521
1622 - name : Mirror + trigger CI
1723 uses : SvanBoxel/gitlab-mirror-and-ci-action@0.6
18- timeout-minutes : 5
24+ timeout-minutes : 15
1925 with :
2026 args : " https://gitlab.desy.de/dcache/dcache"
2127 env :
2733 GITLAB_PROJECT_ID : " 21"
2834 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2935 POLL_TIMEOUT : 60
30- GIT_TRACE : " 1"
31- GIT_CURL_VERBOSE : " 1"
32- GIT_TRANSFER_TRACE : " 1"
You can’t perform that action at this time.
0 commit comments