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

✨ Add standard branch protection workflow #246

Closed
Nicoretti opened this issue Sep 25, 2024 · 0 comments · Fixed by #250
Closed

✨ Add standard branch protection workflow #246

Nicoretti opened this issue Sep 25, 2024 · 0 comments · Fixed by #250
Assignees
Labels
feature Product feature
Milestone

Comments

@Nicoretti
Copy link
Member

Nicoretti commented Sep 25, 2024

Summary

Implement a final workflow that consolidates the results of other workflows to simplify branch protection and maintenance.

Details

Currently, our branch protection is based on individual test workflows which makes it cumbersome to maintain, especially when new Python versions are supported or old ones are deprecated. Each time a change occurs, the branch protection rules need to be updated to reference specific matrix build names. By implementing a final workflow that checks the success of other workflows, we can simplify the branch protection setup and its maintenance.

Background & Context

The motivation for this feature is to streamline the branch protection rules. This will significantly reduce the effort required to keep the rules up to date with the changes in supported or deprecated Python versions. Instead of updating references for each individual matrix build, a single final workflow can be referenced in the branch protection rules. This will simplify the configuration and automate the setup process across different projects, even if the workflow inputs differ.

Examples

  • A final workflow job named approval-gate that aggregates the status of all necessary workflows and can be referenced in branch protection rules.

References

@Nicoretti Nicoretti added the feature Product feature label Sep 25, 2024
@Nicoretti Nicoretti self-assigned this Sep 25, 2024
@Nicoretti Nicoretti added this to the 1.0.0 milestone Sep 25, 2024
@Nicoretti Nicoretti linked a pull request Sep 26, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant