Skip to content

fix(ci): drop removed default_branch input from npm-release trigger - #478

Merged
MaximusHaximus merged 1 commit into
masterfrom
worktree-fix-npm-release-trigger
Jun 26, 2026
Merged

MaximusHaximus merged 1 commit into
masterfrom
worktree-fix-npm-release-trigger

Conversation

@MaximusHaximus

Copy link
Copy Markdown
Contributor

Problem

The Release workflow failed at validation on push to master:

The workflow is not valid. .github/workflows/npm-release-trigger.yml (Line: 35, Col: 23): Invalid input, default_branch is not defined in the referenced workflow.

The shared reusable workflow 0xPolygon/pipelines/.github/workflows/apps-npm-release.yml removed its default_branch input — it now accepts only snapshot_tag and derives the branch itself. Our trigger still passed default_branch: master, so GitHub rejected the workflow before any job ran. Releases on master are blocked until this lands.

Fix

Remove the default_branch input (and its now-stale explanatory comment) from the with: block. Only snapshot_tag remains, matching the reusable workflow's current input contract. No behavioural change to the release/snapshot logic — the shared workflow already resolves the branch on its own.

The shared 0xPolygon/pipelines apps-npm-release.yml workflow removed its
default_branch input (it now derives the branch itself), so passing it failed
workflow validation — "Invalid input, default_branch is not defined in the
referenced workflow" — and broke the Release workflow on push to master.
Remove the input (and its now-stale comment); only snapshot_tag remains.
@MaximusHaximus
MaximusHaximus marked this pull request as ready for review June 26, 2026 12:36
@MaximusHaximus
MaximusHaximus merged commit 30d67af into master Jun 26, 2026
10 checks passed
@MaximusHaximus
MaximusHaximus deleted the worktree-fix-npm-release-trigger branch June 26, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant