Skip to content

feat: add create-rule scaffolding command #13

feat: add create-rule scaffolding command

feat: add create-rule scaffolding command #13

Workflow file for this run

name: AIShield Security Scan
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
actions: read
security-events: write
jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Build and scan
run: cargo run -p aishield-cli -- scan . --format sarif --output aishield.sarif
- name: Upload SARIF
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
continue-on-error: true
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: aishield.sarif