cloudflare/pint

Public

mirrored from https://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 · modepreview

# This is an example config to be used when running pint as a CI job
# to validate pull requests.

parser {
  # Check all files inside rules/alerting and rules/recording dirs.
  include    = ["rules/(alerting|recording)/.+"]

  # Ignore all *.md and *.txt files.
  exclude    = [".+.md", ".+.txt"]
}

ci {
  # Don't run pint if there are more than 50 commits on current branch.
  maxCommits = 50

  # When running 'pint ci' compare current branch with origin/main
  # to get the list of modified files.
  baseBranch = "origin/main"
}