Skip to content

feat(queries): implementation of regal for linting rego files #88

feat(queries): implementation of regal for linting rego files

feat(queries): implementation of regal for linting rego files #88

name: validate-rego
on:
pull_request:
paths:
- "assets/**/*.rego"
jobs:
lint-rego:
name: Run Regal Linter on Rego Files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Regal
uses: StyraInc/[email protected]
with:
version: v0.11.0
- name: Run Regal Linter
run: regal lint --format=github assets --config-file=assets/.regal/config.yml