Skip to content

ci: add basedpyright as a dev dependency and configure it #91

ci: add basedpyright as a dev dependency and configure it

ci: add basedpyright as a dev dependency and configure it #91

---

Check failure on line 1 in .github/workflows/dependency-review.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dependency-review.yml

Invalid workflow file

(Line: 4, Col: 1): Unexpected value 'title', (Line: 7, Col: 1): Unexpected value 'category', (Line: 8, Col: 1): Unexpected value 'usage', (Line: 9, Col: 1): Unexpected value 'behavior', (Line: 10, Col: 1): Unexpected value 'inputs', (Line: 11, Col: 1): Unexpected value 'outputs', (Line: 12, Col: 15): Unexpected value 'step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf, actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/dependency-review-action@67d4f4bd7a9b17a0db54d2a7519187c65e339de8', (Line: 13, Col: 1): Unexpected value 'author', (Line: 14, Col: 1): Unexpected value 'last_modified', (Line: 15, Col: 1): Unexpected value 'changelog'
# Front-Matter for GitHub Workflow
title: "Dependency Review Workflow"
name: "dependency-review.yml"
description: "Scans dependency changes in pull requests and blocks known-vulnerable versions"
category: ci
usage: "Trigger on pull_request to review dependencies via GitHub Dependency Review Action"
behavior: "Flags vulnerable dependencies in PRs; blocks merge if required"
inputs: "GitHub pull_request event payload; no secrets"
outputs: "GitHub check results for dependency safety"
dependencies: "step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf, actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/dependency-review-action@67d4f4bd7a9b17a0db54d2a7519187c65e339de8"
author: "Byron Williams"
last_modified: "2023-11-15"
changelog: "Pinned all action SHAs; added annotation header; converted to YAML front-matter format"
tags: [security, dependencies]
---
name: "Dependency Review"
on:
pull_request:
workflow_dispatch: {}
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@v2.12
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@v4
- name: Dependency Review
uses: actions/dependency-review-action@v4