Skip to content
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
33 changes: 33 additions & 0 deletions .github/workflows/bomly-guard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Bomly Guard

on:
pull_request:

permissions:
contents: read
pull-requests: write
issues: write
security-events: write

jobs:
guard:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Check out repository
uses: actions/checkout@v5
with:
fetch-depth: 0

- uses: actions/setup-node@v6
with:
node-version: "22"
cache: npm
- name: Guard dependency changes
uses: bomly-dev/bomly-guard@v1
with:
log-level: debug
ecosystems: npm
fail-on: high
comment-summary-in-pr: always
auditors: -license
28 changes: 19 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,29 @@ bomly diff \
Fail your pipeline automatically when high-severity vulnerabilities are introduced:

```yaml
# .github/workflows/bomly.yml
name: Bomly Security Scan
on: [push, pull_request]
# .github/workflows/bomly-guard.yml
name: Bomly Guard
on:
pull_request:

permissions:
contents: read
pull-requests: write
issues: write
security-events: write

jobs:
scan:
guard:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Scan with Bomly
run: |
curl -sSfL https://bomly.dev/install.sh | sh
bomly scan --enrich --audit --fail-on high
- uses: actions/checkout@v5
with:
fetch-depth: 0
# Add the package-manager setup steps this ecosystem needs before Bomly Guard.
- uses: bomly-dev/bomly-guard@v1
with:
fail-on: high
comment-summary-in-pr: always
```

Made with [Bomly](https://bomly.dev) — open-source SCA for every ecosystem.
8 changes: 5 additions & 3 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
"larvitreqparser": "0.2.1",
"larvitrouter": "3.0.2",
"larvitutils": "2.3.0",
"lodash": "4.17.15",
"marked": "0.3.19",
"minimist": "0.0.8",
"node-yaml-config": "0.0.5",
"semver": "5.7.1",
"to": "0.2.9",
"url": "0.11.0",
"lodash": "4.17.15",
"marked": "0.3.19"
"url": "0.11.0"
},
"devDependencies": {
"mocha": "^7.0.1"
Expand Down
Loading