Skip to content

Commit

Permalink
Test github annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
prymitive committed Jul 23, 2024
1 parent 82148cd commit 092328f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/pint/pint.hcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
ci {
include = [".github/pint/rules/.*"]
}

rule {
match { kind = "recording" }
aggregate ".+" {
severity = "warning"
keep = ["job"]
}
}

rule {
match { kind = "alerting" }
label "priority" {
severity = "bug"
value = "(1|2|3|4|5)"
required = true
}
}
2 changes: 1 addition & 1 deletion .github/pint/rules/1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ groups:
for: 0s

- alert: Service Is Down
expr: up{job="abc"} == 0
expr: up{job="abc} == 0

- alert: Everything Is Down
expr: up:sum == 0

0 comments on commit 092328f

Please sign in to comment.