Skip to content

ci: auto-rebuild dist/ on dependabot npm PRs#417

Merged
platinummonkey merged 1 commit into
mainfrom
claude/dependabot-auto-run-scripts-FYPLb
May 30, 2026
Merged

ci: auto-rebuild dist/ on dependabot npm PRs#417
platinummonkey merged 1 commit into
mainfrom
claude/dependabot-auto-run-scripts-FYPLb

Conversation

@platinummonkey
Copy link
Copy Markdown
Owner

Dependabot bumps package.json/package-lock.json but never regenerates
dist/, causing the check-dist CI job to fail. This workflow runs
npm install && npm run build && npm run package on dependabot PRs and
commits the updated dist/ back to the branch, replacing the manual
steps that appeared in past commits.

Uses pull_request_target (not pull_request) so the job gets a
write-capable GITHUB_TOKEN; guarded by github.actor == 'dependabot[bot]'.

Dependabot bumps package.json/package-lock.json but never regenerates
dist/, causing the check-dist CI job to fail. This workflow runs
npm install && npm run build && npm run package on dependabot PRs and
commits the updated dist/ back to the branch, replacing the manual
steps that appeared in past commits.

Uses pull_request_target (not pull_request) so the job gets a
write-capable GITHUB_TOKEN; guarded by github.actor == 'dependabot[bot]'.
@platinummonkey platinummonkey merged commit c3f439c into main May 30, 2026
4 checks passed
@platinummonkey platinummonkey deleted the claude/dependabot-auto-run-scripts-FYPLb branch May 30, 2026 15:06
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.

2 participants