GitLab CI Pipeline #1240
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitLab CI Pipeline | |
on: | |
pull_request_target: | |
types: [labeled] | |
push: | |
schedule: | |
# Avoid running on 0 since a lot of other workflows on github start at that | |
# time and this can cause delays or even dropping of jobs: | |
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule | |
- cron: 26 23,10 * * * | |
permissions: {} | |
jobs: | |
trigger-gitlab-pipeline: | |
uses: NordSecurity/trigger-gitlab-pipeline/.github/workflows/trigger-gitlab-pipeline.yml@272b0b859016b5c0ff2c3b7d70799270b0a047fb | |
secrets: | |
ci-api-v4-url: ${{ secrets.CI_API_V4_URL }} | |
access-token: ${{ secrets.GITLAB_API_TOKEN }} | |
trigger-token: ${{ secrets.TOKEN }} | |
project-id: ${{ secrets.PROJECT_ID }} | |
with: | |
schedule: ${{ github.event_name == 'schedule' }} | |
cancel-outdated-pipelines: ${{ github.ref_name != 'main' }} | |
triggered-ref: master | |