-
Notifications
You must be signed in to change notification settings - Fork 373
feat(repo): add check_db_entities workflow #2174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new GitHub Actions workflow to detect modifications in database entity files in the stream_chat_persistence package.
- Adds a GitHub Actions workflow that checks for changes in .dart files within packages/stream_chat_persistence/lib/src/entity.
- Posts an automated comment on the pull request when changes are detected, reminding developers to update the database version and entity schema tests.
Comments suppressed due to low confidence (1)
.github/workflows/check_db_entities.yml:6
- Consider narrowing the paths filter to 'packages/stream_chat_persistence/lib/src/entity/**' for consistency with the files being checked and to avoid unnecessary workflow runs when changes occur outside the entity directory.
- 'packages/stream_chat_persistence/**'
Brazol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolves: FLU-92
Description of the pull request
This pull request introduces a new GitHub Actions workflow to check for modifications in database entity files within the
stream_chat_persistencepackage. The workflow ensures that any changes to these files are detected and appropriately flagged in pull requests.New GitHub Actions workflow:
.github/workflows/check_db_entities.yml: Added a workflow named "Check Database Entity Modifications" that triggers on pull requests. It checks for changes in.dartfiles withinpackages/stream_chat_persistence/lib/src/entity/**directory, and if changes are detected, it posts a comment on the pull request detailing the modified files and reminding developers to update the database version and entity schema tests if necessary.