Skip to content

ci: rebuild bundles for Dependabot npm updates - #100

Merged
chenrui333 merged 1 commit into
masterfrom
fix-dependabot-bundles
Sep 7, 2026
Merged

chenrui333 merged 1 commit into
masterfrom
fix-dependabot-bundles

Conversation

@chenrui333

Copy link
Copy Markdown
Collaborator

Summary

Dependabot npm updates change the dependency manifests without rebuilding the checked-in action bundle, leaving PRs such as #99 failing the generated-files check.

Upload the rebuilt bundle from read-only CI, then use a separate workflow to commit only dist/index.js onto eligible Dependabot PRs and dispatch fresh CI. The updater checks the author, repository, changed paths, artifact, and current head; the commit rejects concurrent head changes. No PR code runs in the write-enabled job.

Notes

The updater becomes active after this PR merges. It uses GITHUB_TOKEN and needs no additional secrets. The existing generated-files check stays enabled.

@chenrui333
chenrui333 merged commit 16161c2 into master Sep 7, 2026
2 checks passed
@chenrui333
chenrui333 deleted the fix-dependabot-bundles branch September 7, 2026 00:14
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