http response github / 200 {}
http start github 127.0.0.1:6033

mkdir testrepo
cd testrepo
exec git init --initial-branch=main .

cp ../src/v1.yml rules.yml
cp ../src/.pint.hcl .
env GIT_AUTHOR_NAME=pint
env GIT_AUTHOR_EMAIL=pint@example.com
env GIT_COMMITTER_NAME=pint
env GIT_COMMITTER_EMAIL=pint@example.com
exec git add .
exec git commit -am 'import rules and config'

exec git checkout -b v2
cp ../src/v2.yml rules.yml
exec git commit -am 'v2'

env GITHUB_AUTH_TOKEN=12345
env GITHUB_PULL_REQUEST_NUMBER=1
pint.error -l debug --no-color ci
! stdout .
stderr 'level=info msg="Report submitted" status="200 OK"'

-- src/v1.yml --
- alert: rule1
  expr: sum(foo) by(instance)
  annotations:
    summary: 'foo is down on {{ $labels.job }}'
- alert: rule2
  expr: sum(foo) by(instance)
  annotations:
    summary: 'foo is down on {{ $labels.job }}'

-- src/v2.yml --
- alert: rule1
  expr: sum(foo)
  annotations:
    summary: 'foo is down on {{ $labels.instance }}'
- alert: rule2
  expr: sum(foo)
  annotations:
    summary: 'foo is down on {{ $labels.instance }}'

-- src/.pint.hcl --
ci {
  baseBranch = "main"
}
parser {
  relaxed = [".*"]
}
repository {
  github {
    baseuri   = "http://127.0.0.1:6033"
	uploaduri = "http://127.0.0.1:6033"
    timeout   = "10s"
    owner     = "cloudflare"
    repo      = "pint"
  }
}
