The blueprint's own action passes the license check by its name¶
- Status: accepted, amends 0143
- Date: 2026-11-30
Context¶
The workflows of the blueprint run the action of the issue assistant and four of its reusable workflows, reusable-findings.yml, reusable-issue-assistant.yml, reusable-issue-lifecycle.yml and reusable-labels.yml, pinned to a commit, in every repository that follows the blueprint. When an update moves the pin, the required check dependency-review of .github/workflows/quick-checks.yml reviews each of them as a changed dependency.
The dependency graph gives an action no license. actions/dependency-review-action then asks GitHub for the license of its repository (setGHLicenses in src/licenses.ts), which is that of the default branch, not that of the pinned commit. The issue assistant moved to AGPL-3.0-or-later on its main on 2026-11-29, before any release had that license, and from then on every change of the pin counted as AGPL-3.0. Five repositories whose .github/dependency-review.yml allows no AGPL license stopped at the update to release 1.28.0 of the blueprint, with that check their only failure (#1201). The blueprint, MIT-0, and every project under a permissive license would stop in the same way at the next change of the pin.
.github/dependency-review.yml is a file of the project. Decision 0143 keeps it out of reach of every bot that commits unread, since it decides which licenses and advisories pass, and gives an entry that a release needs there a line of the checklist, which waits for a person in each repository.
Options¶
- A line of the checklist, as for the tools of the blueprint bot: each repository adds the five package URLs by hand. Every update waits until a person in each repository has, and a new reusable workflow of the issue assistant stops them again.
- AGPL-3.0 in the
allow-licensesof every repository: it would let any dependency under AGPL into a project under a permissive license. - A fixed input
allow-dependencies-licensesin the workflow: an input takes the place of that key of the file, so it would drop the entries of the project, such aspkg:composer/nextcloud/ocp. - A migration or a commit of the fix bot that writes the project's file: what decision 0143 rejects.
- A list of the blueprint, joined with the project's entries before the review:
BLUEPRINT_ACTIONSofblueprint/dependency_review.pynames the action and each reusable workflow, since the action compares namespace and name exactly (purlsMatchinsrc/purl.ts). A step before the review runsblueprint.py dependency-review, which reads the items underallow-dependencies-licensesof the project's file, adds the blueprint's, each once, and writes them as its output. The review takes them as its inputallow-dependencies-licensesbeside itsconfig-file.readConfiginsrc/config.tsspreads the inputs over the file, so the input takes the place of that one key, and every other key, such asallow-licensesandallow-ghsas, stays the project's.
Decision¶
Option 5. It is no weaker than what decision 0143 rejected:
- Every update already rewrites
quick-checks.ymlandblueprint.py, so an update could always change what the review checks; the list is part of the same files, and every change of it is read in a pull request of the blueprint. - No bot commits the project's file, and it stays the project's: its entries keep their force, and it alone decides which licenses and advisories pass for every other dependency.
- The list is exactly what the workflows use: a test of every kind of project keeps it equal to their
uses:lines, so that a new reusable workflow can't come without its entry, and none without a use. - It fails closed. The step runs only where the review does, when
DEPENDENCY_REVIEWisn'toff, and its failure fails the check, which the PR coach explains. If it reads fewer items than the file has, the review only gets stricter; an item that is no package URL fails the review's own validation. After a failure of the step, the review doesn't run until the next push; the review keeps its own condition, so that an update merges its line beside a pin of the review that a repository moved. - The update that brings this release runs the workflow and the
blueprint.pyof its own head, so it passes its own review, with no step in any repository.
The line of the checklist for the tools of the blueprint bot stays: they are dependencies of a lock file, not of a workflow, and the template allows them in a new repository.
Consequences¶
The license check skips the blueprint's own action and reusable workflows, under the license they have today and under any license they take later: a change of that license no longer shows in the review of any repository. That is the cost, accepted because the blueprint's workflows run them in every repository anyway, as the template decides and the project does not. Their vulnerabilities are still reviewed, since the input exempts only from the license check, and the issue assistant is a repository of the same owner.
A new action or reusable workflow of the issue assistant, or one of another repository that the blueprint's workflows run, needs its entry in BLUEPRINT_ACTIONS, which the test asks for.