cloudflare/pint

Public

mirrored from https://github.com/cloudflare/pintAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.51.1

Branches

Tags

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

Clone

HTTPS

Download ZIP

docs/examples/ci.hcl

17lines · modecode

1# This is an example config to be used when running pint as a CI job
2# to validate pull requests.
3
4ci {
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 # Don't run pint if there are more than 50 commits on current branch.
12 maxCommits = 50
13
14 # When running 'pint ci' compare current branch with origin/main
15 # to get the list of modified files.
16 baseBranch = "origin/main"
17}
18