ci: split compliance and build step #8
Workflow file for this run
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: Pull Request | ||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
# Cancels in-progress workflows for a PR when updated | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
run_compliance_checks: | ||
name: Compliance Checks | ||
uses: ./.github/workflows/compliance.yml | ||
secrets: inherit | ||
run_builds: | ||
if: opened, synchronize, or reopened, ready_for_review | ||
Check failure on line 19 in .github/workflows/pr.yml GitHub Actions / Pull RequestInvalid workflow file
|
||
needs: | ||
- run_compliance_checks | ||
name: Build step | ||
uses: ./.github/workflows/builds.yml | ||
secrets: inherit |