feat(queries): implementation of regal for linting rego files #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |