[PR #6364] 🤖 Adding path filters so workflows only run when required #6468

Closed
opened 2026-02-28 21:28:48 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/6364

State: closed
Merged: Yes


Should help with the Netlify bandwidth and prevent unneeded builds from happening.

Another option is to use path-ignore which would be less paths to specify, but it would also build for more files unnecessarily.


Note

Add path-based filters to multiple GitHub Actions workflows to run only on relevant changes, plus a release note.

  • CI/Workflows:
    • Path filters added to limit triggers to relevant changes:
      • /.github/workflows/e2e-test.yml: runs only on app-related paths; excludes packages/sync-server/**, packages/api/**, packages/ci-actions/**, packages/docs/**, packages/eslint-plugin-actual/**.
      • /.github/workflows/electron-pr.yml: similar filters; excludes API, CI actions, docs, eslint plugin.
      • /.github/workflows/size-compare.yml: adds include/exclude path filters; minor quoting normalization.
      • /.github/workflows/vrt-update-generate.yml: adds include/exclude path filters; excludes sync-server, API, CI actions, docs, eslint plugin.
  • Docs:
    • Adds release note upcoming-release-notes/6364.md about preventing unnecessary GitHub UI workflows.

Written by Cursor Bugbot for commit f1914837ef. This will update automatically on new commits. Configure here.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/6364 **State:** closed **Merged:** Yes --- <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> Should help with the Netlify bandwidth and prevent unneeded builds from happening. Another option is to use `path-ignore` which would be less paths to specify, but it would also build for more files unnecessarily. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Add path-based filters to multiple GitHub Actions workflows to run only on relevant changes, plus a release note. > > - **CI/Workflows**: > - **Path filters added** to limit triggers to relevant changes: > - `/.github/workflows/e2e-test.yml`: runs only on app-related paths; excludes `packages/sync-server/**`, `packages/api/**`, `packages/ci-actions/**`, `packages/docs/**`, `packages/eslint-plugin-actual/**`. > - `/.github/workflows/electron-pr.yml`: similar filters; excludes API, CI actions, docs, eslint plugin. > - `/.github/workflows/size-compare.yml`: adds include/exclude path filters; minor quoting normalization. > - `/.github/workflows/vrt-update-generate.yml`: adds include/exclude path filters; excludes sync-server, API, CI actions, docs, eslint plugin. > - **Docs**: > - Adds release note `upcoming-release-notes/6364.md` about preventing unnecessary GitHub UI workflows. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit f1914837ef755d4cce09486362b7b84e04c64ff4. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
GiteaMirror added the pull-request label 2026-02-28 21:28:48 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6468