Skip to content

Add Pull Request Workflow #25

Add Pull Request Workflow

Add Pull Request Workflow #25

Workflow file for this run

# docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
# This is the top-level workflow to run on all pull-requests, and invokes
# several other workflow dependencies
name: Pull Request
on:
workflow_dispatch:
pull_request:
jobs:
# Call auxiliary workflows
pre_run:
uses: ./.github/workflows/pre-run-check.yml

Check failure on line 14 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / Pull Request

Invalid workflow file

The workflow is not valid. In .github/workflows/pull_request.yml (Line: 14, Col: 11): Error from called workflow chipsalliance/caliptra-rtl/.github/workflows/pre-run-check.yml@65ef14867cb2b3e6eea2435efa8618fc14c50dda (Line: 123, Col: 9): Unexpected symbol: '"workflow_dispatch"'. Located at position 93 within expression: (github.event_name == 'pull_request' && github.base_ref == 'main') || (github.event_name == "workflow_dispatch") In .github/workflows/pull_request.yml (Line: 14, Col: 11): Error from called workflow chipsalliance/caliptra-rtl/.github/workflows/pre-run-check.yml@65ef14867cb2b3e6eea2435efa8618fc14c50dda (Line: 138, Col: 24): Unexpected symbol: '"workflow_dispatch"'. Located at position 83 within expression: (github.event_name == 'pull_request' && github.base_ref) || (github.event_name == "workflow_dispatch" && inputs.base_ref)
verilator:
needs: pre_run
uses: ./.github/workflows/build-test-verilator.yml
interactive_dbg:
needs: pre_run
uses: ./.github/workflows/interactive-debugging.yml
doc_gen:
needs: pre_run
uses: ./.github/workflows/doc-gen.yml
post_run:
name: Call Post Run Final
runs-on: ubuntu-22.04
needs: [verilator, interactive_dbg, doc_gen]
steps:
- name: Checkout RTL repo
uses: actions/checkout@v4
- run: echo "Finalize"