mizcausevic-dev/Prompt Provenance Diff
PR gate for prompt-provenance changes — diffs HEAD vs base, posts a comment, fails on breaking changes.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| doc-path | Path (relative to repo root) to the prompt-provenance JSON document being changed in the PR. | yes | — |
| base-sha | Override the base SHA used to retrieve the previous version. Defaults to pull_request.base.sha from the event payload. | no | — |
| comment-on-pr | Post the Markdown diff as a PR comment. 'auto' (default) posts only on pull_request events; 'true' / 'false' force the behavior. | no | auto |
| fail-on-breaking | Fail the run when the diff is classified as BREAKING (default 'true'). | no | true |
| fail-on-any-change | Fail the run when there is ANY diff at all (default 'false'). | no | false |
| github-token | Token used to post the PR comment (defaults to GITHUB_TOKEN). | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| breaking | True iff the diff is BREAKING. |
| change-count | Number of changes detected in the diff. |
| new-doc | True iff the doc path didn't exist at base SHA (newly added document). |