Optimize GitHub Actions cost#184
Merged
Merged
Conversation
…obile build Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…obile build Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…obile build Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…obile build Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Optimize GitHub Actions cost
May spend was $4.46 across 273 runs, driven by run volume on push (qc.yml = 102 runs/mo). These edits cut redundant runs without losing safety coverage.
Changes
qc.yml(the volume driver — biggest win)concurrencywithcancel-in-progress: true→ superseded runs on rapid pushes/PR updates are auto-cancelled.paths-ignore: ['**.md','docs/**','.gitignore','LICENSE']to bothpushandpull_request→ docs-only changes no longer spin up the full PG-backed gate or the post-deploy smoke. Real code changes still fully covered.docs-drift.ymlconcurrencycancel-in-progress. Triggers left untouched — it still watcheshub/src/**,docs/openapi.json,docs/api.md(already doc/spec-scoped, never ran on every push).mobile-shell-typecheck.ymlconcurrencycancel-in-progress. Already path-scoped tomobile/tauri/**; nopaths-ignoreadded (would conflict with existingpathsallowlist).release-supervisor.ymlconcurrencywithcancel-in-progress: **false**(don't cancel an in-flight signed release build). Tag-only trigger left intact.Left unchanged (already cost-optimal)
mobile-ios-build.yml— macOS 10×, but already gated byvars.ENABLE_IOS_BUILD == 'true'+workflow_dispatch/tags/pull_requestscoped tomobile/tauri/**, and already has concurrency. Does not run on unrelated pushes.release-mobile.yml— tags (mobile-v*.*.*) +workflow_dispatchonly, already has concurrency. No push-on-branch building.Expected savings
🤖 Generated with Claude Code