Repository navigation
build: built-in changed-files step replaces ci-plan.ts; actions allowlist enforced - #1049
Merged
Merged
Conversation
…and ci-plan.ts Part of #1041 (item 3). Co-Authored-By: Claude Opus 5.5 <[email protected]>
jimhoyd
enabled auto-merge (squash)
September 30, 2026 13:47
… the paths-filter plan Co-Authored-By: Claude Opus 5.5 <[email protected]>
…pact in the paths-filter plan Co-Authored-By: Claude Opus 5.5 <[email protected]>
…hs-filter plan and release-please config Co-Authored-By: Claude Opus 5.5 <[email protected]>
…erate references Co-Authored-By: Claude Opus 5.5 <[email protected]>
… actions The repository's Actions policy allows only GitHub's and jimhoyd-com's actions, so dorny/paths-filter and release-please-action ended every run in startup_failure. scripts/ci-changes.ts matches git diff against .github/ci-filters.yml with picomatch, and release.yml runs the release-please npm CLI pinned by .github/release-please/package-lock.json. test/workflows.test.ts now enforces the owner allowlist. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
jimhoyd
disabled auto-merge
September 30, 2026 18:30
…the actions allowlist Owner decision on #1049: keep only the CI part. release-bump.ts, its test, the Create release workflow and the urlcode-current-version markers are restored from main; release-please's config, manifest, tooling lockfile and release-versions.ts are removed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
jimhoyd
enabled auto-merge (squash)
September 30, 2026 18:41
This was referenced Sep 30, 2026
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.
Part of #1041 (item 3). This PR now carries only the CI part of that item: a small built-in changed-files step replaces
scripts/ci-plan.ts, and a test enforces the repository's Actions allowlist.The owner dropped release-please. Its action is blocked by the Actions policy, and the npm CLI needs a 177-entry tooling lockfile. So
scripts/release-bump.ts, its test,release-bump --checkincheck:code, the Create release workflow and theurlcode-current-versionmarkers are all unchanged from main. TheRELEASE_PLEASE_TOKENrepository secret is now unused and can be deleted.What changed
scripts/ci-changes.ts(39 lines) and.github/ci-filters.ymlreplace the 354-linescripts/ci-plan.ts.git diff --no-renames: a pull request against its merge base (base...head), a push tip to tip (before..after)..github/ci-filters.yml. Dot files are included, and a path counts when one pattern includes it and no!pattern excludes it.if:conditions and matrices are expressions inci.yml.disk-fullruns in every code lane;continue-on-error, and a failed outcome (malformed or absent SHA, unreadable history) selects the full lane;docsorfalseoutput, so a missing plan output runs the job.verify-completeis a single expression: plan and docs must succeed, and no job may befailureorcancelled.Actions allowlist.
startup_failure.test/workflows.test.tsnow fails on anyuses:in a workflow oraction/action.ymlwhose owner is notactions,githuborjimhoyd-com, or which is not pinned by SHA with a# vX.Y.Zcomment.Dependency cost: 0
picomatchbecame a direct devDependency (^4.0.7), but it was already in the tree through typescript-eslint; the lockfile diff is one line in the rootdevDependencies.Lines (
git diff --numstat origin/main)scripts/ci-changes.ts,scripts/ci-plan.tsdeleted)ci-lanes, deletedci-plan,ci-workflow,workflows).github/)package.json,package-lock.json)docs/CI.md,docs/DEVELOPMENT-PIPELINE.md,scripts/README.md)Evidence
npm run verifyandnpm run test:packagepass on this commit, which is up to date with origin/main.verifystep were already there.test/ci-lanes.test.tsruns the real.github/ci-filters.ymlthroughscripts/ci-changes.ts:Not proven
The new plan job has not run on GitHub yet. This PR's own CI run is the first proof.
🤖 Generated with Claude Code