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
8 changes: 8 additions & 0 deletions .charter/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"drift": {
"enabled": true,
"include": [
".github/workflows/*.yml"
]
}
}
10 changes: 10 additions & 0 deletions .charter/patterns/floating-action-pins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "floating-action-pins",
"name": "Floating Action Pins",
"category": "SECURITY",
"status": "ACTIVE",
"anti_patterns": "uses: (?!Stackbilt-dev/)(?!\\./)[^@]+@v[\\d]",
"blessed_solution": "Pin to full commit SHA with a # vX.Y.Z comment: uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4",
"rationale": "Tag-based action pins are mutable — a supply chain attacker can move the tag to a malicious commit. SHA pins are immutable.",
"created_at": "2026-05-20T00:00:00.000Z"
}
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: ${{ matrix.node-version }}
- run: npm ci --ignore-scripts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
contents: read
id-token: write # Required for npm provenance
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 22
registry-url: https://registry.npmjs.org
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/supply-chain.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Supply Chain

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
sbom:
uses: Stackbilt-dev/stackbilt_llc/.github/workflows/supply-chain-sbom.yml@c87defbe10de10c7d53653338d330bcd48d41746
with:
node-version: '22'
package-manager: 'npm'

dep-review:
if: github.event_name == 'pull_request'
uses: Stackbilt-dev/stackbilt_llc/.github/workflows/supply-chain-dep-review.yml@c87defbe10de10c7d53653338d330bcd48d41746
Loading