Skip to content

Fix pre-commit workflow for push events #3712

Fix pre-commit workflow for push events

Fix pre-commit workflow for push events #3712

Workflow file for this run

name: Build application
on:
push:
pull_request:
merge_group:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: >-
${{ github.ref != 'refs/heads/master' &&
github.event_name != 'merge_group' &&
!startsWith(github.ref, 'refs/heads/gh-readonly-queue') }}
jobs:
cpp-lint:
uses: ./.github/workflows/cpp-lint.yml

Check failure on line 20 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

error parsing called workflow ".github/workflows/main.yml" -> "./.github/workflows/cpp-lint.yml" : failed to fetch workflow: workflow was not found.
ubuntu:
needs:
- cpp-lint
uses: ./.github/workflows/ubuntu.yml
mac:
needs:
- cpp-lint
uses: ./.github/workflows/mac.yml
windows:
needs:
- cpp-lint
uses: ./.github/workflows/windows.yml
perf:
needs:
- ubuntu
- mac
- windows
uses: ./.github/workflows/perf.yml
pages:
needs:
- perf
uses: ./.github/workflows/pages.yml