Skip to content

ci: bump lock-threads to v6 so the scheduled lock job can run - #9860

Closed
tushardev-365 wants to merge 1 commit into
rectorphp:mainfrom
tushardev-365:ci/lock-threads-v6
Closed

ci: bump lock-threads to v6 so the scheduled lock job can run#9860
tushardev-365 wants to merge 1 commit into
rectorphp:mainfrom
tushardev-365:ci/lock-threads-v6

Conversation

@tushardev-365

@tushardev-365 tushardev-365 commented Aug 21, 2026

Copy link
Copy Markdown

The scheduled lock job fails on every run before locking anything. The last 10 runs of lock.yaml are all failures, each with:

##[error]"github-token" length must be less than or equal to 100 characters long

(from run 31923889738; the earlier runs fail identically)

The workflow pins dessant/lock-threads@v5, and that version validates its github-token input with a 100 character cap in its Joi schema:

'github-token': Joi.string().trim().max(100),

The Actions token has grown past 100 characters, so validation rejects it and the action exits before doing any work. The cap raise landed in v6.0.2 specifically: v4, v5.0.x, v6.0.0 and v6.0.1 all still validate max(100), and v6.0.2 moved it to 1000. So v6.0.2 is the first safe pin, and it is what the moving v6 tag currently points at.

I checked every input this workflow passes against the v6.0.2 schema and all of them exist there unchanged, including their accepted values, so the pin bump is the entire fix. The new pin is the commit the v6.0.2 release tag resolves to, keeping the SHA-pinned style.

I could not run this against the repo since the workflow only triggers on schedule, but the same one-line bump fixed the identical failure elsewhere, and the v6 cohort of repos running this action shows green runs.

The pinned version validates its github-token input with a 100 character
cap, and the Actions token now exceeds that, so every run fails before
locking anything:

  ##[error]"github-token" length must be less than or equal to 100 characters long

v6 raised the cap to 1000 (v4 and v5.0.x both still validate max(100)).
Every input this workflow passes exists unchanged in the v6 schema, so the
pin bump is the whole fix. Pinned to the v6.0.2 release commit.
@github-actions

Copy link
Copy Markdown
Contributor

This repository content is generated by rectorphp/rector-src. Please open pull request to rectorphp/rector-src.

@github-actions github-actions Bot closed this Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant