refactor: optimized github actions workflow#112
Conversation
There was a problem hiding this comment.
Pull request overview
This PR optimizes the GitHub Actions workflows for a Flutter library by adding path filtering to reduce unnecessary workflow runs, implementing concurrency controls to cancel redundant jobs, and adding job timeouts for better resource management. The changes remove boilerplate comments and add push event triggers with the same path filters as pull requests.
Key changes:
- Added path-based filtering to trigger workflows only on relevant file changes (Dart files, pubspec files, config files, and workflow files)
- Implemented concurrency groups with cancel-in-progress to prevent redundant workflow runs
- Added 5-minute timeouts to all jobs to prevent runaway processes
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| .github/workflows/unit_tests.yml | Added path filters for pull_request and push events, concurrency control, and job timeout; removed boilerplate comments |
| .github/workflows/code_quality.yml | Added path filters for pull_request and push events, concurrency control, and job timeouts for both lint and analyze jobs; removed boilerplate comments |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.