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 github branch policy definition #327

Closed
baywet opened this issue Sep 4, 2024 · 1 comment · Fixed by #350
Closed

add github branch policy definition #327

baywet opened this issue Sep 4, 2024 · 1 comment · Fixed by #350
Assignees
Labels

Comments

@baywet
Copy link
Member

baywet commented Sep 4, 2024

example microsoft/kiota-http-guzzle-php#123

@MIchaelMainer
Copy link
Member

You can use the https://github.com/MIchaelMainer/policyservicetoolkit to export existing settings. The suggested workflow is:

  1. Export existing branch protection rules in the yaml file.
  2. Check-in existing branch protection rules file at /.github/policies/.
  3. Validate the rules are working as expected.
  4. Update the branch protection rules in the yaml file and open PR.

Now you have gitop enabled your branch protection rules.

@andrueastman andrueastman self-assigned this Oct 9, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage 🔍 in Kiota Oct 9, 2024
@andrueastman andrueastman moved this from Needs Triage 🔍 to Todo 📃 in Kiota Oct 9, 2024
@github-project-automation github-project-automation bot moved this from Todo 📃 to Done ✔️ in Kiota Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants