WordPress/gutenberg
View on GitHubRemove custon `job_status` ouput in favor of the native `needs.<job_id>.result`
Open
#78203 opened on May 12, 2026
GitHub ActionsGood First Issue[Status] In Progress
Description
In the build-plugin-zip.yml workflow, a custom job_status output is defined for use in later jobs.
GitHub Actions has native support for this information through needs.<job_id>.result. This should be used instead of a custom output to avoid unintentionally introducing an insecure pattern or bug.
It's possible that there are other similar instances within workflow files, but Claude did not find any when I asked it to perform an analysis.
I audited the remaining outputs: blocks in the workflow directory. None of them are redundant reimplementations of native context:
Workflow Job Output Why it's legitimate build-plugin-zip.ymlcompute-stable-branchescurrent_stable_branch,next_stable_branchComputed from GitHub Releases API build-plugin-zip.ymlbump-versionold_version,new_version,release_branch,release_branch_commit,trunk_commitCustom semver/commit data end2end-test.ymlmerge-artifactshas-flaky-test-reportDerived from steps.*.outputs.artifact-idpresenceunit-test.ymlcompute-previous-wordpress-versionprevious-wordpress-versionComputed from WP.org API upload-release-to-plugin-repo.ymlcompute-should-update-trunkshould_update_trunkComputed from WP.org plugin API upload-release-to-plugin-repo.ymlget-release-branchrelease_branchDerived from tag name I also grepped for any other use of job.status or job. being exposed via outputs — build-plugin-zip.yml is the only occurrence.