name: Scan Code with pre commit trigger on: # Triggers the workflow on push or pull request events push: pull_request: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: permissions: contents: read jobs: scan: runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }} steps: - name: Check out repository code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: run security_scan_on_push uses: The-OpenROAD-Project/actions/security_scan_on_push@main