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

Optimize CI/CD workflows by excluding redundant CI runs on direct master pushes #637

Open
origranot opened this issue Dec 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@origranot
Copy link
Owner

Description

Currently, our development process triggers both Continuous Integration (CI) and Deployment (CD) workflows when new code is pushed to the master branch.
While this is crucial for maintaining code quality and ensuring reliable deployment, it has been observed that running the CI workflow for direct pushes to the master branch may be redundant.
This is especially true if the code has already passed through the CI checks in a separate development or feature branch before merging.

Screenshots

No response

Additional information

Outcome:

  • Optimize the CI/CD process by configuring the pipeline to intelligently skip the CI workflow for direct pushes to the master branch, where it's confirmed that the code has already passed CI checks.
  • Ensure that this optimization does not compromise the integrity and reliability of the code in the master branch.
  • Maintain or improve the current deployment speed and resource efficiency.
@origranot origranot added enhancement New feature or request triage Needs triage and removed triage Needs triage labels Dec 24, 2023
@origranot origranot changed the title Optimize CI/CD Workflows by Excluding Redundant CI Runs on Direct Master Pushes Optimize CI/CD workflows by excluding redundant CI runs on direct master pushes Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant