Skip to content

ci: check pull requests for an AI-use disclosure (SCPE level 1) - #1

Merged
augbastos merged 1 commit into
masterfrom
scpe-install
Jul 27, 2026
Merged

ci: check pull requests for an AI-use disclosure (SCPE level 1)#1
augbastos merged 1 commit into
masterfrom
scpe-install

Conversation

@augbastos

Copy link
Copy Markdown
Owner

Installs SCPE level 1: every pull request gets a comment saying whether it carries an AI-use disclosure — an Assisted-by: commit trailer, or a ticked box in the new PR template.

Informational for now (require: "false") — it posts the result and never fails the check.

Opened as a pull request rather than pushed straight to master because master here has a local commit that has not been published yet; this branch is cut from origin/master so nothing else rides along.

The seal comment starts appearing on the next PR: workflow_run only fires for a workflow file already on the default branch.

  • I used generative AI

Every PR now gets a comment saying whether it carries an AI-use disclosure — an
`Assisted-by:` commit trailer, or a ticked box in the new PR template. Using AI
on this project is fine; the check is about saying so.

Informational for now: `require: "false"` posts the result and never fails the
check. Flipping it to "true" makes the disclosure a merge requirement.

Nothing is installed on the runner and no key is involved at this level — the
Action runs one stdlib-only Python file out of its own checkout at the pinned
tag. Two files because a workflow that names itself in `workflow_run.workflows`
cannot register with GitHub: scpe.yml runs contributor code with no secrets,
scpe-seal.yml holds the write token and only posts the comment.

https://github.com/augbastos/scpe
@augbastos
augbastos merged commit c63f325 into master Jul 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant