Build/Test Tools: Replace the first-time contributor welcome action#12120
Build/Test Tools: Replace the first-time contributor welcome action#12120itzmekhokan wants to merge 1 commit into
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
mukeshpanchal27
left a comment
There was a problem hiding this comment.
Seems like side effect of AI changes 🤔
`wow-actions/welcome` is the only GitHub Action still running on the deprecated Node.js 20 runtime, and it has no release targeting Node.js 24. Switch to GitHub's official `actions/first-interaction` action, which runs on Node.js 24 and posts a comment on a contributor's first pull request. This removes the final node20 dependency from CI while keeping the welcome message intact. Fixes #65432.
807389c to
8cd8dad
Compare
@mukeshpanchal27 — you're right, the first pass was over-built. I've reverted it. The only actual node20 holdout in .github/workflows/ is wow-actions/welcome, which is unmaintained and has no node24 release (even its default branch still targets node20). So rather than a version bump, I've swapped it for GitHub's official actions/first-interaction@v3.1.0 (node24), SHA-pinned per our convention. The welcome message itself is unchanged. Two minor behavioral notes with the official action:
If preserving the @mention/reaction is preferred, I'm happy to go with a small actions/github-script step instead — just let me know which you'd rather have in core. |
Summary
wow-actions/welcome@v1.3.1was the only GitHub Action still running on the deprecated Node.js 20 runtime, and no Node.js 24 release exists for it.actions/github-scriptstep, matching the other jobs in the same workflow. Removes the final node20 dependency and a third-party action while keeping the welcome behavior intact.Audit results
Every action in
.github/workflows/was checked against itsruns.usingruntime. After this change, none run onnode20:actions/checkoutactions/setup-nodeactions/cacheactions/upload-artifactactions/download-artifactactions/github-scriptshivammathur/setup-phpslackapi/slack-github-actionastral-sh/setup-uvgithub/codeql-action/upload-sarifWordPress/props-bot-actionramsey/composer-installcodecov/codecov-actiondocker://rhysd/actionlintwow-actions/welcomev1.3.1Result:
wow-actions/welcome@v1.3.1was the sole node20 holdout (no node24 release exists). Replacing it with an actions/github-script step eliminates the last source of node20 deprecation warnings in CI.Trac ticket: https://core.trac.wordpress.org/ticket/65432
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Opus 4.8
Used for: Code analysis, test implementation, and workflow management.
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.