Skip to content

opa fmt -w .

opa fmt -w . #22

Workflow file for this run

name: Lint policies
on:
push:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup OPA
uses: open-policy-agent/[email protected]
with:
version: 0.61
- name: Setup Regal
uses: StyraInc/[email protected]
with:
version: 0.21
- name: OPA Check
if: ${{ !cancelled() }}
run: opa check --strict --max-errors 0 .
- name: Regal Lint
if: ${{ !cancelled() }}
run: regal lint --format github .