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
2 changes: 2 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ jobs:
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: 'Dependency Review'
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
with:
allow-ghsas: GHSA-r3ph-w7gj-g6xm, GHSA-r4xh-jqrq-34v2, GHSA-238p-pmpm-9mq7
11 changes: 11 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Transitive dependencies of markdownlint-cli. DoS-only, not reachable in this context.

CVE-2026-111997
GHSA-r3ph-w7gj-g6xm

CVE-2026-103923

GHSA-r4xh-jqrq-34v2

CVE-2026-109869
CVE-2026-109924
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:lts-alpine@sha256:7e0bd0460b26eb3854ea5b99b887a6a14d665d14cae694b78ae2936d14b2befb
FROM node:lts-alpine@sha256:06d7adf3e0ef61a13f1d28682726366f97a15aa1888c934d3ecec86c33918b53

RUN apk add --no-cache curl jq

RUN npm install -g npm@12.2.1

COPY package.json package-lock.json /
RUN npm ci --omit=dev

Expand Down
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
# shellcheck disable=SC3037

# validate subscription status
REPO_PRIVATE=$(jq -r '.repository.private | tostring' "$GITHUB_EVENT_PATH" 2>/dev/null || echo "")
Expand Down Expand Up @@ -32,7 +33,7 @@ if [ "$REPO_PRIVATE" != "false" ]; then
-d "$BODY" \
"$API_URL" -o /dev/null) && CURL_EXIT_CODE=0 || CURL_EXIT_CODE=$?

if [ $CURL_EXIT_CODE -ne 0 ]; then
if [ "$CURL_EXIT_CODE" -ne 0 ]; then
echo "Timeout or API not reachable. Continuing to next step."
elif [ "$RESPONSE" = "403" ]; then
echo -e "::error::\033[1;31mThis action requires a StepSecurity subscription for private repositories.\033[0m"
Expand Down
11 changes: 11 additions & 0 deletions osv-scanner.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[IgnoredVulns]]
id = "GHSA-r3ph-w7gj-g6xm"
reason = "Transitive dependency of markdownlint-cli. DoS only, not reachable in this context."

[[IgnoredVulns]]
id = "GHSA-238p-pmpm-9mq7"
reason = "Transitive dependency of markdownlint-cli. DoS only, not reachable in this context."

[[IgnoredVulns]]
id = "GHSA-r4xh-jqrq-34v2"
reason = "Transitive dependency of markdownlint-cli. DoS only, not reachable in this context."
Loading
Loading