Skip to content

ci: Add GitHub action to trigger Gitlab CI pipeline #3

ci: Add GitHub action to trigger Gitlab CI pipeline

ci: Add GitHub action to trigger Gitlab CI pipeline #3

Workflow file for this run

on:
pull_request:
jobs:
waiting:
runs-on: self-hosted
steps:
- name: waiting
run: echo "Waiting for pre-commit steps to finish first"
mirror_repo:
environment: GITLAB
needs: pre-commit

Check failure on line 11 in .github/workflows/trigger_ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/trigger_ci.yml

Invalid workflow file

The workflow is not valid. .github/workflows/trigger_ci.yml (Line: 11, Col: 12): Job 'mirror_repo' depends on unknown job 'pre-commit'.
runs-on: self-hosted
steps:
- name: step1
run: |
#!/bin/bash
curl --request POST --header "PRIVATE-TOKEN:${{ secrets.TOKEN }}" "${{ secrets.MIRROR_URL }}"