cla

command
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2026 License: AGPL-3.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command cla is the CLA check of the repository (see CLA.md and .github/workflows/cla.yml). It runs from the default branch on a workflow_run (after cla-request, which a pull request triggers) or an issue_comment event, so nothing of a pull request is ever checked out or run and no pull_request_target is needed. It reads the event from GITHUB_EVENT_PATH only to learn where to look, then decides from the GitHub API:

  • every commit author (and committer, see participants) of the pull request must have signed or be on the allowlist;
  • a signature is a comment of exactly the sentence in CLA.md by one of them; it is recorded in signatures/cla.json on the cla-signatures branch, keyed by the numeric GitHub id;
  • the result is the commit status "cla" on the head commit and one comment of the bot, found by a hidden marker.

Environment: GITHUB_TOKEN, GITHUB_REPOSITORY, GITHUB_EVENT_NAME, GITHUB_EVENT_PATH (all set by Actions), CLA_ALLOWLIST (comma-separated logins), and optionally GITHUB_API_URL and GITHUB_SERVER_URL.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL