Relicense from MIT to Apache-2.0 + add CLA#1
Merged
Conversation
Replace MIT LICENSE with canonical Apache 2.0 text and add NOTICE file per Apache convention. Update README license section. Aligns with the parallel relicense in ding-labs/ding (PR #5) and ding-labs/ding-k8s-job (PR #1). Apache-2.0 across the project gives a consistent license story; Apache 2.0 also adds an explicit patent grant that MIT lacks, which is strictly more protective for downstream users. All commits to date are by the sole maintainer, so no third-party contributor consent is required for the relicense. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Add an Apache-ICLA-style Contributor License Agreement and CLA Assistant Lite workflow, mirroring the setup in ding-labs/ding and ding-labs/ding-k8s-job. The CLA grants a copyright license that includes the right to sublicense, preserving the ability to relicense or dual-license the project in the future without chasing down past contributors. The project name in the document is adapted for ding-action; the substantive legal terms are identical to the other repo CLAs. CLA Assistant Lite runs entirely as a GitHub Action with no external service. Signatures are stored in a "cla-signatures" branch in this repo. The maintainer (zuchka) and bots are allowlisted. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2 tasks
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Aligns ding-action with the broader project relicense (see ding-labs/ding#5 and ding-labs/ding-k8s-job#1).
.github/CLA.mdand CLA Assistant Lite workflow at.github/workflows/cla.yml.Why MIT → Apache instead of staying MIT
The other repos in the project moved AGPL → Apache, and the README in this repo currently says
"MIT — same as DING"— a line that goes stale the moment those PRs land. Two options were on the table:Going with #2 because (a) it eliminates the "MIT — same as DING" lie, (b) Apache 2.0 adds an explicit patent grant that MIT lacks, which is strictly more protective for downstream users with no real downside, and (c) one license across the project simplifies legal/marketing/compliance.
If this assumption was wrong and you'd rather keep ding-action on MIT, this PR is straightforward to revert and reduce to just the CLA.
Contributor consent
git log --all --format='%an <%ae>' | sort -uconfirms every commit is by the sole maintainer. No third-party consent required.CLA design notes
ding-labs/dingandding-labs/ding-k8s-job. Only the introduction is adapted to nameding-action.cla-signaturesbranch.Test plan
https://www.apache.org/licenses/LICENSE-2.0.txtexactly..github/CLA.mdand confirm legal posture matches intent.Follow-up
A separate PR will clean up stale
zuchka/URLs inREADME.md,action.yml, andexamples/*.yml(this is functional, not just cosmetic —action.ymlcallsapi.github.com/repos/zuchka/ding/releases/latestwhich currently relies on GitHub redirecting toding-labs/ding).🤖 Generated with Claude Code