Skip to content

ci: separate workflows for main and dev branches #102

ci: separate workflows for main and dev branches

ci: separate workflows for main and dev branches #102

name: Validation-latest
on:
pull_request:
branches-ignore: [ dev ] # PRs which do not target `dev` (cf. `validation-dev.yml`)
push:
branches: [ main ] # pushes on `main` (viz., merging PRs to `main`)
tags: [ '*' ] # any tags
workflow_dispatch: # manual trigger
jobs:
validation:
uses: JeffersonLab/clas12-validation/.github/workflows/ci.yml@main
with:
gemc_version: match_gcard

Check failure on line 15 in .github/workflows/validation-latest.yml

View workflow run for this annotation

GitHub Actions / Validation-latest

Invalid workflow file

The workflow is not valid. .github/workflows/validation-latest.yml (Line: 15, Col: 21): Invalid input, gemc_version is not defined in the referenced workflow.