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.
Problem
The CLA Assistant workflow (
cla-check) fails on every PR at "Prepare all required actions":Example: the
cla-checkrun on PR #2.Root cause
.github/workflows/cla.ymlpinscontributor-assistant/github-action@v2, but that action does not publish a floatingv2major tag. Only specific versions exist (v2.6.1,v2.6.0,v2.5.2, … down tov2.2.0).@v2cannot 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.ymltriggers onpull_request_target, so GitHub runs the workflow definition from the base branch (main), not from the PR. The fixing PR's owncla-checkwill therefore still fail (using main's old@v2); the fix only takes effect once merged tomain. Verify post-merge via arecheckcomment or a fresh test PR.