Authored-By: Codex (GPT-5.6) <noreply@openai.com>
This commit is contained in:
+16
-4
@@ -1,8 +1,8 @@
|
||||
name: Check branch/PR naming
|
||||
name: Check PR contract
|
||||
description: |
|
||||
Validates that a PR's head branch and title follow the fritzlab naming
|
||||
standard. Fails (exits 1) on any violation, with FAIL log lines naming
|
||||
it. Warn-only wiring is the consumer's choice: set
|
||||
Validates that a PR's branch, title, Bug tracking, and AI attribution
|
||||
follow the fritzlab Git standard. Fails (exits 1) on any violation, with
|
||||
FAIL log lines naming it. Warn-only wiring is the consumer's choice: set
|
||||
continue-on-error: true on the job (or pin @v1, which never fails).
|
||||
|
||||
Standard:
|
||||
@@ -26,6 +26,15 @@ inputs:
|
||||
dfritz is exempt from all checks.
|
||||
required: false
|
||||
default: ''
|
||||
pr-body:
|
||||
description: PR description — github.event.pull_request.body.
|
||||
required: true
|
||||
base-sha:
|
||||
description: Base commit SHA — github.event.pull_request.base.sha.
|
||||
required: true
|
||||
head-sha:
|
||||
description: Head commit SHA — github.event.pull_request.head.sha.
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
@@ -36,4 +45,7 @@ runs:
|
||||
HEAD_BRANCH: ${{ inputs.head-branch }}
|
||||
PR_TITLE: ${{ inputs.pr-title }}
|
||||
PR_AUTHOR: ${{ inputs.pr-author }}
|
||||
PR_BODY: ${{ inputs.pr-body }}
|
||||
BASE_SHA: ${{ inputs.base-sha }}
|
||||
HEAD_SHA: ${{ inputs.head-sha }}
|
||||
run: bash "${{ github.action_path }}/check.sh"
|
||||
|
||||
Reference in New Issue
Block a user