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

feat: add workflow to restrict merges to master #108

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

NandyBa
Copy link
Member

@NandyBa NandyBa commented Dec 19, 2024

This new workflow, combined with the main branch protection rules, ensures that only pre-production (preprod) pull requests can be merged into the main branch. Any PRs created from other branches will fail this test, and the branch protection rules will prevent them from being merged.

Preview of a PRs that don't follow the rules (this PR and #104 ):
Capture d’écran 2024-12-19 à 02 25 09
Capture d’écran 2024-12-19 à 02 26 33

@NandyBa NandyBa changed the base branch from master to develop December 19, 2024 01:27
@NandyBa NandyBa force-pushed the add-master-branch-protection branch from 5cbeaab to 648f1ff Compare December 19, 2024 01:31
@NandyBa NandyBa merged commit db54874 into develop Dec 21, 2024
1 check passed
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.

2 participants