Skip to content

feat: add weekly devbox update workflow#11

Merged
abueide merged 1 commit intomainfrom
feat/add-devbox-update-workflow
Apr 15, 2026
Merged

feat: add weekly devbox update workflow#11
abueide merged 1 commit intomainfrom
feat/add-devbox-update-workflow

Conversation

@abueide
Copy link
Copy Markdown
Contributor

@abueide abueide commented Apr 15, 2026

Summary

Add automated weekly workflow to keep devbox packages up-to-date using the xiaolutech/devbox-update-action.

Changes

  • Add .github/workflows/devbox-update.yml workflow
  • Runs weekly on Mondays at 10am UTC
  • Can be manually triggered via workflow_dispatch
  • Reusable via workflow_call for other repos

Why

Automates devbox package maintenance - checks for outdated packages via Devbox Search API and creates PRs with updates to both devbox.json and devbox.lock.

How It Works

The action:

  1. Scans devbox.json for packages
  2. Checks Devbox Search API for latest versions
  3. Updates devbox.json and regenerates devbox.lock
  4. Creates/updates PR with changes

Usage in Other Repos

This workflow is reusable, but it's simple enough to just copy to other repos:

name: Devbox Update
on:
  schedule:
    - cron: '0 10 * * 1'
  workflow_dispatch:
jobs:
  update:
    runs-on: ubuntu-latest
    permissions:
      contents: write
      pull-requests: write
    steps:
      - uses: actions/checkout@v4
      - uses: jetify-com/devbox-install-action@v0.14.0
      - uses: xiaolutech/devbox-update-action@v1
        with:
          token: \${{ secrets.GITHUB_TOKEN }}

Setup Required

Repository settings must have "Allow GitHub Actions to create and approve pull requests" enabled.


🤖 Generated with Claude Code

- Use xiaolutech/devbox-update-action for automated updates
- Runs weekly on Mondays at 10am UTC
- Can be manually triggered or called from other repos
- Automatically creates PRs with package updates

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@abueide abueide marked this pull request as ready for review April 15, 2026 19:28
@abueide abueide merged commit 6b631bb into main Apr 15, 2026
14 checks passed
@abueide abueide deleted the feat/add-devbox-update-workflow branch April 22, 2026 20:50
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