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
5 changes: 4 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@ jobs:
- uses: ./.github/actions/setup-nix
- name: Audit every Bun lockfile
run: |
# GHSA-fc5q-39xc-vjpf: picomatch ReDoS with no fixed release, reached only
# through build and lint tooling. Drop the flag here and in
# build-sdk-publish.sh once a fixed picomatch is published.
# shellcheck disable=SC2016 # The child shell expands its own variables.
nix develop --no-update-lock-file .#ci -c bash -uo pipefail -c '
status=0
for project in sdk apps/maple-research/frontend apps/maple-auth services/updates services/agent-updates; do
echo "::group::$project"
(cd "$project" && bun --no-env-file audit --audit-level=high) || status=1
(cd "$project" && bun --no-env-file audit --audit-level=high --ignore=GHSA-fc5q-39xc-vjpf) || status=1
echo "::endgroup::"
done
exit "$status"'
Expand Down
5 changes: 4 additions & 1 deletion scripts/ci/build-sdk-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ nix develop --no-update-lock-file ./sdk -c bash -euo pipefail -c '
case "${sdk_kind}" in
npm)
bun --no-env-file install --frozen-lockfile --ignore-scripts
bun --no-env-file audit --audit-level=high
# GHSA-fc5q-39xc-vjpf: picomatch ReDoS with no fixed release, reached only
# through build and lint tooling. Drop the flag here and in nightly.yml
# once a fixed picomatch is published.
bun --no-env-file audit --audit-level=high --ignore=GHSA-fc5q-39xc-vjpf
bun --no-env-file run format:check
bun --no-env-file run build
VITE_OPEN_SECRET_API_URL=http://127.0.0.1:3000 \
Expand Down
Loading