chore: remove dead CI config and fix misleading contracts#9313
Closed
mikhail-dcl wants to merge 1 commit into
Closed
chore: remove dead CI config and fix misleading contracts#9313mikhail-dcl wants to merge 1 commit into
mikhail-dcl wants to merge 1 commit into
Conversation
- drop workflow_dispatch triggers no job can handle (claude-pr-review, claude-pr-review-require, enforce-group-approvals, auto-assign, pr-comment-artifact-url, pr-comment-warnings) and the unhandled pull_request_review_comment trigger in claude-pr-review - pr-closure.yml: remove TARGET env - there is no matrix in this job and build.py --delete derives targets from BRANCH_NAME - on-delete-release.yml: don't write version "null" to latest.json when the last release is deleted - build-release-main-page.yml: remove workflow_run entry that matches by file path (matching is by name only), drop target_commitish pointing at the dev head, trim unused job outputs - build-unitycloud.yml: remove defaults on required workflow_call inputs (never used); document the check names shared with test.yml - test.yml: delete long-dead commented-out lint steps; document check names referenced by build-unitycloud.yml skip statuses - close-inactive-issues.yml: drop contents:write - actions/stale does not need it - version action: commit_sha is optional (falls back to GITHUB_SHA); callers already rely on that - build-profile-nightly.yml: rename misleading full_version output that actually carried short_version Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Contributor
|
💰 Review cost: unknown · |
Contributor
|
Claude finished @mikhail-dcl's task in 1m 34s —— View job Security & correctness review — CI workflow cleanup
This is a pure dead-config / contract-fix PR. Every change reduces attack surface or corrects a misleading declaration — nothing adds a new capability, dependency, action, or prompt-injection channel. No dependency files or binaries changed, so only the workflow security section (W.1–W.10) applies. Security findingsNone. Notable improvements:
Correctness claims — verified
Minor / non-blocking
VerdictAll changes are dead-config removal, permission tightening, and contract corrections. No unresolved security concerns.
|
5 tasks
Collaborator
Author
|
Superseded by #9314, which now targets dev and contains all three commits. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Description
What does this PR change?
Second PR of the CI pipeline audit — stacked on #9312 (base is
fix/ci-workflow-bugs; it retargets todevautomatically when #9312 merges). Pure dead-config removal and contract fixes; no pipeline behavior changes.workflow_dispatchin claude-pr-review, claude-pr-review-require, enforce-group-approvals, auto-assign, pr-comment-artifact-url and pr-comment-warnings: no job can run under it — every job's condition or payload access requires a PR/comment/workflow_run event (in claude-pr-review-require and auto-assign the github-script would throw on the missing payload). Same for thepull_request_review_commenttrigger in claude-pr-review, which no job reads.TARGET: t_${{ matrix.target }}— the job has no matrix (it evaluated tot_), andbuild.py --deletederives all platform targets fromBRANCH_NAME(verified inscripts/cloudbuild/build.py::delete_current_target).{"version": "null"}tolatest.json(jq stringifies the missingtag_nameof the 404 body). Now the update is skipped.workflow_run.workflowsmatches by workflow name only — the.github/workflows/build-release-main.ymlpath entry never matched anything. Also removedtarget_commitish: github.sha, which points at the dev head in workflow_run context (harmless only because the manually pushed tag takes precedence), and trimmed unused job outputs.required: trueworkflow_call inputs (a default on a required input can never be used — actionlinteventsfinding); documented that the hardcoded check names in the skip step must stay in sync with test.yml (and vice versa in test.yml).contents: write— actions/stale doesn't need it; the comment claiming it did was wrong.commit_shais now declaredrequired: false— composite actions never enforced it, three callers omit it, and the script already falls back toGITHUB_SHA. The declaration now matches reality.full_versionjob output actually carriedshort_version; renamed toversion(its only consumer updated).Deliberately not included: the audit's B5 finding (Dependency Security Review's MEDIUM-RISK
pendingstatus has no human resolution path) — any fix weakens a security gate, so the mechanism needs an explicit maintainer decision first.Test Instructions
CI-only change; nothing to run in the client.
Steps (standard run): N/A
Prerequisites
Test Steps
get-info.outputs.version— renamed fromfull_version).latest.json; deleting the only release must skip the S3 update instead of writing"null".Additional Testing Notes
workflow_dispatchtriggers makes those workflows disappear from the manual "Run workflow" dropdown — that is intended; dispatching them never did anything.Quality Checklist
🤖 Generated with Claude Code