Skip to content

ci: do not start CLA jobs that exit immediately - #16

Merged
rabestro merged 1 commit into
mainfrom
ci/skip-cla-jobs-that-exit-immediately
Sep 14, 2026
Merged

rabestro merged 1 commit into
mainfrom
ci/skip-cla-jobs-that-exit-immediately

Conversation

@rabestro

Copy link
Copy Markdown
Member

What and why

The CLA script already returns at once for bots and for owners, members and collaborators — but only after the job has started. Hoisting the same test into a job-level if: means the job is never started at all.

This repository is public, so Actions minutes are free and there is no saving here. The gain is that a pull request stops carrying a check whose only outcome is to report that it had nothing to check.

Behaviour is unchanged. The check still runs for external contributors — which, on a public repository, is the case that actually happens.

Applied for consistency with the private repositories, where the same jobs were measured to cost real minutes for doing no work: over 1–14 September every CLA run there exited early, the authors being bots or the repository owner.

Verification

The file was re-parsed after editing and the job read back — if: present, runs-on intact, steps unchanged. A YAML edit that silently drops a check looks exactly like a green build.

Note that cla.yaml runs on pull_request_target, so this pull request still runs the old version from the base branch. The change takes effect on the next pull request after merge.

🤖 Generated with Claude Code

The CLA script already returns at once for bots and for owners, members and
collaborators, but only after the job has started. Hoisting the same test into a
job-level condition means the job is never started at all.

This repository is public, so Actions minutes are free and there is no saving
here — the gain is that a pull request stops carrying a check that exists only to
report that it had nothing to check. Behaviour is unchanged: the check still
runs, for the external contributors it exists for, which on a public repository
is the case that actually happens.

Applied for consistency with the private repositories, where the same jobs were
measured to cost real minutes for doing no work.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 8039e8dd-c601-4def-9ca7-883e2fa3d4c5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions github-actions Bot added the ci-cd CI/CD pipelines, workflows, and tooling label Sep 14, 2026
@rabestro rabestro self-assigned this Sep 14, 2026
@rabestro
rabestro merged commit ebe18b5 into main Sep 14, 2026
7 checks passed
@rabestro
rabestro deleted the ci/skip-cla-jobs-that-exit-immediately branch September 14, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd CI/CD pipelines, workflows, and tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant