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

💚 thresholds take 1 #11

Merged
merged 18 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
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
51 changes: 25 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,37 @@ on:
permissions: write-all

jobs:
# test-typescript:
# name: TypeScript Tests
# runs-on: ubuntu-latest

# steps:
# - name: Checkout
# id: checkout
# uses: actions/checkout@v4
test-typescript:
name: TypeScript Tests
runs-on: ubuntu-latest

# - name: Setup Node.js
# id: setup-node
# uses: actions/setup-node@v4
# with:
# node-version-file: .node-version
# cache: npm
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4

# - name: Install Dependencies
# id: npm-ci
# run: npm ci
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm

# - name: Check Format
# id: npm-format-check
# run: npm run format:check
- name: Install Dependencies
id: npm-ci
run: npm ci

# - name: Lint
# id: npm-lint
# run: npm run lint
- name: Check Format
id: npm-format-check
run: npm run format:check

# - name: Test
# id: npm-ci-test
# run: npm run ci-test
- name: Lint
id: npm-lint
run: npm run lint

- name: Test
id: npm-ci-test
run: npm run ci-test
test-action:
name: GitHub Actions Test
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Dependency directory
node_modules

# test repos
testrepos

# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
# Logs
logs
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ inputs:
command:
description: 'Command to run'
default: 'scan'
scan_cvss_base_threshold:
scan-cvss-base-threshold:
description: 'CVSS Threshold to fail the workflow'
required: false
scan_cvss_temporal_threshold:
scan-cvss-temporal-threshold:
description: 'CVSS Temporal Threshold to fail the workflow'
required: false
outputs:
Expand Down
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 69 additions & 9 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

36 changes: 0 additions & 36 deletions repos/npm-four/package-lock.json

This file was deleted.

16 changes: 0 additions & 16 deletions repos/npm-four/package.json

This file was deleted.

13 changes: 0 additions & 13 deletions repos/npm-none/package-lock.json

This file was deleted.

12 changes: 0 additions & 12 deletions repos/npm-none/package.json

This file was deleted.

Loading
Loading