Skip to content
Open
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
27 changes: 3 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -469,33 +469,12 @@ jobs:
# above: SAST coverage on every PR is non-negotiable, and Semgrep is fast
# enough (~1-2 min for this ruleset) that gating it behind path filters
# isn't worth the added complexity.
# Defined once in MustardSeedNetworks/.github (fleet-shared); ci-complete
# still needs: [semgrep]. Edit the pinned version / config policy there.
semgrep:
name: Semgrep SAST
runs-on: ubuntu-latest
timeout-minutes: 10
uses: MustardSeedNetworks/.github/.github/workflows/semgrep.yml@762b756e6fb5803443b9bcfdba03b88596c18e04 # v1.0.0
permissions:
contents: read
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: "3.13"

- name: Install Semgrep (pinned)
run: pip install "semgrep==1.168.0"

- name: Run Semgrep (blocking on ERROR severity)
run: |
semgrep scan \
--config p/golang \
--config p/typescript \
--config p/react \
--config p/owasp-top-ten \
--severity ERROR \
--error \
--metrics=off

# ===========================================================================
# Code Quality Checks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
# To change license policy for the fleet, edit that workflow, not this file.
# foundation + modernc.org/mathutil are already ignored there fleet-wide.
license-check:
uses: MustardSeedNetworks/.github/.github/workflows/license-check.yml@main
uses: MustardSeedNetworks/.github/.github/workflows/license-check.yml@762b756e6fb5803443b9bcfdba03b88596c18e04 # v1.0.0
Loading