Skip to content

[ENV] Fix for excluding GH workflow files in hash check; skip Verilator for doc PRs #759

[ENV] Fix for excluding GH workflow files in hash check; skip Verilator for doc PRs

[ENV] Fix for excluding GH workflow files in hash check; skip Verilator for doc PRs #759

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
verilator:
uses: ./.github/workflows/build-test-verilator.yml

Check failure on line 16 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: 16, Col: 11): Error from called workflow chipsalliance/caliptra-rtl/.github/workflows/build-test-verilator.yml@8e287bd4cbac5e2368aaad9268c19610e6b7540d (Line: 32, Col: 9): Unrecognized named-value: 'on'. Located at position 1 within expression: on.workflow_call.inputs.run_vltr == 'true' In .github/workflows/pull_request.yml (Line: 16, Col: 11): Error from called workflow chipsalliance/caliptra-rtl/.github/workflows/build-test-verilator.yml@8e287bd4cbac5e2368aaad9268c19610e6b7540d (Line: 128, Col: 9): Unrecognized named-value: 'on'. Located at position 1 within expression: on.workflow_call.inputs.run_vltr == 'true'
needs: pre_run
with:
run_vltr: ${{ needs.pre_run.outputs.run_vltr }}
interactive_dbg:
uses: ./.github/workflows/interactive-debugging.yml
needs: pre_run
with:
run_vltr: ${{ needs.pre_run.outputs.run_vltr }}
doc_gen:
uses: ./.github/workflows/doc-gen.yml
permissions:
pages: write
id-token: write
post_run:
name: Call Post Run Final
runs-on: ubuntu-22.04
needs: [pre_run, verilator, interactive_dbg, doc_gen]
steps:
- name: Checkout RTL repo
uses: actions/checkout@v4
- run: echo "Finalize"