Skip to content

ci: auto-update bun.lock on dependabot PRs + skip change detection on manual dispatch#18

Merged
gek0z merged 3 commits intomainfrom
ci/fix-publish-dispatch
Apr 21, 2026
Merged

ci: auto-update bun.lock on dependabot PRs + skip change detection on manual dispatch#18
gek0z merged 3 commits intomainfrom
ci/fix-publish-dispatch

Conversation

@gek0z
Copy link
Copy Markdown
Owner

@gek0z gek0z commented Apr 21, 2026

Summary

  • Adds dependabot-lockfile.yml workflow that runs bun install --lockfile-only on dependabot PRs and pushes the refreshed bun.lock back to the PR branch, so CI's bun install --frozen-lockfile stops failing on npm bumps.
  • Skips change detection in the publish workflow on manual dispatch (from 4f16ce5).

Why

Dependabot only edits package.json; bun's lockfile drifts and --frozen-lockfile rejects it. Uses RELEASE_TOKEN so the push actually re-triggers CI, and is gated to github.actor == 'dependabot[bot]'.

Test plan

  • Merge and wait for next dependabot PR to confirm the workflow runs and CI passes
  • Verify manual dispatch of the publish workflow no longer short-circuits on change detection

🤖 Generated with Claude Code

gek0z and others added 2 commits March 27, 2026 22:48
workflow_dispatch is an explicit publish request — skip the
source-change check that incorrectly blocks it. Also fixes
bad revision error when head_sha is empty on manual triggers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dependabot only updates package.json; without a matching bun.lock
update the CI install --frozen-lockfile fails. This workflow runs
bun install --lockfile-only on dependabot PRs and pushes the
refreshed lockfile back to the PR branch.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the patch Patch version bump label Apr 21, 2026
@gek0z gek0z merged commit e26a25a into main Apr 21, 2026
1 check passed
@gek0z gek0z deleted the ci/fix-publish-dispatch branch April 21, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Patch version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant