Skip to content

Exempt dependency bot commits from the license trailer check - #186

Merged
StefanKarpinski merged 1 commit into
mainfrom
sk/bot-trailer-exemption
Nov 6, 2026
Merged

StefanKarpinski merged 1 commit into
mainfrom
sk/bot-trailer-exemption

Conversation

@StefanKarpinski

Copy link
Copy Markdown
Member

Follow-up to #185.

Commits authored by automated dependency bots are machine-generated, so there is no human author whose license or copyright needs recording. This PR makes the trailer check skip them.

Changes

  • .github/scripts/check-license-trailers.sh skips commits whose author email exactly matches one of these bots:

    • CompatHelper (compathelper_noreply@julialang.org)
    • dyad-dependency-manager[bot]
    • dependabot[bot]
    • renovate[bot]
    • github-actions[bot]

    Skipped commits are listed as bot in the output. Look-alike addresses (e.g. without the numeric ID prefix, or with [bot] replaced by other text) are still checked.

  • CONTRIBUTING.md (root and lib/ModelingToolkitTearing) documents the exemption.

AI coding agents such as Devin (#181) are deliberately not exempt. They work on behalf of a person, and that person adds the trailers, matching the AI co-author rule in AGENTS.md.

Testing

Notes for merging

  • Please use a merge commit or rebase merge. Squash is now disabled on main by the branch ruleset.
  • Bot PRs opened before Require license and copyright trailers on commits #185 won't run the check until they're updated from main. Until then the required check never reports, so they're blocked. Closing them usually makes the bot open a fresh PR.

Co-author

This patch was written interactively with Claude Code.

https://claude.ai/code/session_01LiCFDWitwipscmKfADxBhb

Commits by automated dependency bots (CompatHelper, the Dyad dependency
manager, Dependabot, Renovate, GitHub Actions) are machine-generated, so
there is no human author whose license or copyright needs recording.
Skip them in the trailer check, matching on their exact author emails.
Commits made with AI coding agents are still checked; the human directing
the agent adds the trailers. Document the exemption in both
CONTRIBUTING.md files.

License: AGPL-3.0-only
Copyright: JuliaHub, Inc.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@StefanKarpinski
StefanKarpinski merged commit 29b3c90 into main Nov 6, 2026
9 of 10 checks 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