Skip to content

CI: CLA Assistant fails — contributor-assistant/github-action@v2 is not a resolvable version #3

Description

@elpddev

Problem

The CLA Assistant workflow (cla-check) fails on every PR at "Prepare all required actions":

##[error]Unable to resolve action `contributor-assistant/github-action@v2`, unable to find version `v2`

Example: the cla-check run on PR #2.

Root cause

.github/workflows/cla.yml pins contributor-assistant/github-action@v2, but that action does not publish a floating v2 major tag. Only specific versions exist (v2.6.1, v2.6.0, v2.5.2, … down to v2.2.0). @v2 cannot resolve, so the job errors before doing anything.

Fix

Pin to the latest stable release: contributor-assistant/github-action@v2.6.1.

Note on verification

cla.yml triggers on pull_request_target, so GitHub runs the workflow definition from the base branch (main), not from the PR. The fixing PR's own cla-check will therefore still fail (using main's old @v2); the fix only takes effect once merged to main. Verify post-merge via a recheck comment or a fresh test PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions