Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ Description of the changes here.
## What this fixes and how it's fixed

Description of how this fix works goes here. Link any issues this PR fixes.

<!-- Required for any change to policy (programs, parameters, eligibility, bug fixes): say how the same provision is right in TheAxiomFoundation/rulespec-ca (PolicyEngine/.github CONTRIBUTING, "Mirror policy changes in Axiom"). Keep one option below (several claims can share the line, separated by `;`), or use axiom: needed if you are an external contributor who cannot complete the Axiom work; a maintainer will follow up. The Axiom parity check verifies the line and comments with suggestions. -->
axiom: <legal id> encoded-correct (<companion test>) | <rulespec-ca PR> encoded | <rulespec-ca issue> queued | n/a: <category>: <reason>
20 changes: 20 additions & 0 deletions .github/workflows/axiom-parity.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Checks the PR description's axiom: line (PolicyEngine/.github CONTRIBUTING,
# "Mirror policy changes in Axiom") and suggests one. Warn-only for now: it
# reports what would fail in the job summary and never blocks merging.
name: Axiom parity

on:
pull_request:
types: [opened, edited, synchronize, reopened, ready_for_review]

permissions:
contents: read

jobs:
axiom-parity:
uses: PolicyEngine/.github/.github/workflows/axiom-parity.yml@main
with:
mode: warn
permissions:
contents: read
pull-requests: write
1 change: 1 addition & 0 deletions changelog.d/axiom-parity-check.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Run the Axiom parity check on pull requests (warn-only for now) and add the axiom line to the PR template.
Loading