Skip to content

tirith: fix case sensitive example#8744

Open
bbigras wants to merge 1 commit intonix-community:masterfrom
bbigras:push-pvoxxwvqrrzk
Open

tirith: fix case sensitive example#8744
bbigras wants to merge 1 commit intonix-community:masterfrom
bbigras:push-pvoxxwvqrrzk

Conversation

@bbigras
Copy link
Contributor

@bbigras bbigras commented Feb 14, 2026

LOW, MEDIUM, HIGH and CRITICAL are case sensitive

otherwise we get:

tirith: warning: failed to parse policy at /home/bbigras/.config/tirith/policy.yaml: severity_overrides.docker_untrusted_registry: unknown variant `critical`, expected one of `LOW`, `MEDIUM`, `HIGH`, `CRITICAL` at line 4 column 30
tirith: BLOCKED

Description

Checklist

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -p treefmt nixfmt deadnix keep-sorted nixf-diagnose --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.
    • Generate a news entry. See News
    • Basic tests added. See Tests
  • If this PR adds an exciting new feature or contains a breaking change.

    • Generate a news entry. See News

`LOW`, `MEDIUM`, `HIGH` and `CRITICAL` are case sensitive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant