Repository navigation
Exempt dependency bot commits from the license trailer check - #186
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.shskips commits whose author email exactly matches one of these bots:compathelper_noreply@julialang.org)dyad-dependency-manager[bot]dependabot[bot]renovate[bot]github-actions[bot]Skipped commits are listed as
botin 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 andlib/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
renovate[bot]address is skipped, and three look-alike addresses are still checked.Notes for merging
mainby the branch ruleset.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