Skip to content
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

Infra: reduce workflow runs #913

Merged
merged 4 commits into from
Jan 20, 2025
Merged

Infra: reduce workflow runs #913

merged 4 commits into from
Jan 20, 2025

Conversation

ezawadski
Copy link
Collaborator

@ezawadski ezawadski commented Jan 20, 2025

Only run CI/CD workflows when necessary to reduce GitHub Actions billing

AI Description

This PR updates the GitHub workflows for backend integration tests, linting, type checking, and unit tests. The changes ensure that the workflows are triggered only when changes are made to the src/backend directory.

Changes:

  • The branches field is updated to include only the main branch.
  • A new paths field is added to specify the src/backend directory as the target for changes.
  • The pull_request field is updated to include the paths field, ensuring that pull requests are triggered only when changes are made to the specified path.

Copy link
Collaborator

@tianjing-li tianjing-li left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great

@ezawadski ezawadski merged commit a0401ab into main Jan 20, 2025
4 checks passed
@ezawadski ezawadski deleted the feat/reduce_workflow_runs branch January 20, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants