cloudflare/pint

Public

mirrored fromhttps://github.com/cloudflare/pintAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.75.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

docs/examples/ci.hcl

19lines · modecode

1# This is an example config to be used when running pint as a CI job
2# to validate pull requests.
3
4parser {
5 # Check all files inside rules/alerting and rules/recording dirs.
6 include = ["rules/(alerting|recording)/.+"]
7
8 # Ignore all *.md and *.txt files.
9 exclude = [".+.md", ".+.txt"]
10}
11
12ci {
13 # Don't run pint if there are more than 50 commits on current branch.
14 maxCommits = 50
15
16 # When running 'pint ci' compare current branch with origin/main
17 # to get the list of modified files.
18 baseBranch = "origin/main"
19}
20