Skip to content

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.

4 participants