Files
bla/examples/github-actions-defend.yml
T
2026-11-17 14:43:17 +08:00

19 lines
657 B
YAML

# Example GitHub Actions snippet for hardening release artifacts with BLA
name: Harden Build with BLA Blue Shield
on:
workflow_dispatch:
env:
# Pinned to the BLA release you audited. Bump together with package.json.
# Never use the mutable `latest` tag in a release pipeline.
BLA_VERSION: "3.4.3"
jobs:
harden:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
- run: npx -y "bla-agents@${BLA_VERSION}" defend ./dist -o ./dist-shielded --manifest