Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Bifrost Policy Scan

Run Bifrost static-analysis policies in GitHub Actions and upload the SARIF report to GitHub code scanning. Findings appear as pull-request annotations, and the job gates on a strict exit-code contract: 0 is clean, 1 is a policy gate failure (a finding at or above the fail-on threshold or an orphaned suppression decision), and 2 is unreliable — a run that could not prove its own completeness and must never be treated as clean.

Quick start

name: bifrost-policies

on:
  push:
    branches: [main]
  pull_request:

permissions:
  contents: read
  security-events: write

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v5
      - uses: BrokkAi/bifrost-policy-scan@v0

Versioning

Each Bifrost release publishes a matching vX.Y.Z tag here, and that tag's version input defaults to the same Bifrost release, so the action and the binary it installs stay in lockstep — including policy and RQL syntax compatibility.

@v0 follows the newest release and is what the quick start above uses. Pin an exact tag when a gate has to stay reproducible:

      - uses: BrokkAi/bifrost-policy-scan@v0.11.3

The pinned example names the release this copy of the action was published for, so it is always a tag that exists.

Documentation

Inputs, outputs, diff-aware gating (diff-base), committed baselines for legacy repositories, caching, and suppression formats are documented at CI Gating with GitHub Actions.

Source

This repository is a generated alias, synced on every release from the canonical action at BrokkAi/bifrost/.github/actions/policy-scan. Do not open pull requests here; changes belong in BrokkAi/bifrost.

About

GitHub Action for Bifrost policy scans: SARIF upload to code scanning, diff-aware PR gating, and a strict clean/findings/unreliable exit contract. Synced from BrokkAi/bifrost on every release.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors