mirror of
https://github.com/jdx/mise-action.git
synced 2026-05-14 13:50:33 +00:00
## Summary Switches from our custom GitHub Actions workflow to [autofix.ci](https://autofix.ci/) for automatically updating the `dist/` folder. This solves the CI triggering issue and works on all PRs, not just Renovate PRs. ## Problem Solved The previous workflow had a critical issue: commits made with `GITHUB_TOKEN` don't trigger other CI workflows (by design to prevent infinite loops). This meant that after the dist/ folder was updated, CI wouldn't run to verify the changes. ## Solution: autofix.ci autofix.ci uses a GitHub App token to make commits, which **does** trigger CI workflows. This ensures that: - ✅ CI tests run after dist/ is updated - ✅ Works on ALL PRs, not just Renovate - ✅ Renovate still recognizes and can rebase PRs (via `gitIgnoredAuthors`) ## Changes - **Renamed workflow**: `renovate-dist-update.yml` → `autofix.yml` - **Removed filters**: Now runs on all PRs (not just when specific files change) - **Removed Renovate check**: Works for all PR authors, not just renovate[bot] - **Switched to autofix.ci**: Replaced manual commit logic with autofix.ci action - **Updated permissions**: Changed from `write` to `read` (autofix.ci handles commits) - **Updated renovate.json**: Added `autofix.ci[bot]` to `gitIgnoredAuthors` ## Setup Required This PR requires installing the autofix.ci GitHub App: 👉 https://github.com/apps/autofix-ci ## Testing Once the app is installed, this workflow will automatically: 1. Run on every PR 2. Execute `npm run all` to rebuild dist/ 3. Let autofix.ci commit any changes 4. Trigger CI workflows to verify the changes 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Replaces the Renovate-only dist update workflow with an autofix.ci-based workflow that runs on all PRs and main pushes, and updates Renovate to ignore autofix.ci commits. > > - **CI**: > - Add `/.github/workflows/autofix.yml` to build (`npm run all`) and let `autofix.ci` commit fixes on PRs and `main` pushes. > - Remove `/.github/workflows/renovate-dist-update.yml` and its manual commit/push logic. > - **Renovate**: > - Update `/.github/renovate.json` to set `gitIgnoredAuthors` to `autofix.ci[bot] <autofix.ci[bot]@users.noreply.github.com>`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 520b55f3f5045ef239900070ac87c66667338b09. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| linters | ||
| workflows | ||
| renovate.json | ||