Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add dependency review action scan #137

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ on:
required: false
default: true
code-ql:
description: "Code QL analysis language. See https://github.com/github/codeql-action."
description: "Code QL analysis language. See <https://github.com/github/codeql-action>."
type: string
required: false
default: "typescript"
dependency-review:
description: "Enable dependency review scan. See <https://github.com/actions/dependency-review-action>."
type: boolean
required: false
default: true
test:
description: "Optional flag to enable test."
type: boolean
Expand Down Expand Up @@ -62,6 +67,16 @@ jobs:
languages: ${{ inputs.code-ql }}
- uses: github/codeql-action/analyze@v3.25.14

dependency-review:
name: 🛡️ Dependency Review
if: github.event_name == 'pull_request' && inputs.checks == true && inputs.dependency-review
permissions:
contents: read
runs-on: "ubuntu-latest"
steps:
- uses: hoverkraft-tech/ci-github-common/actions/checkout@0.14.0
- uses: actions/dependency-review-action@v4

setup:
name: ⚙️ Setup
runs-on: "ubuntu-latest"
Expand Down
Loading