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

Set up test to confirm repository settings are as expected #6

Open
1 task
fevrin opened this issue Sep 15, 2023 · 0 comments
Open
1 task

Set up test to confirm repository settings are as expected #6

fevrin opened this issue Sep 15, 2023 · 0 comments

Comments

@fevrin
Copy link
Owner

fevrin commented Sep 15, 2023

Background

We need to set up CI to check the repo's settings to confirm they're as expected or warn the user to change them. With gh installed, the following info can be used to determine the repository's settings:

Some settings to check:

  • Automatically delete head branches
  • Always suggest updating pull request branches
  • Require status checks to pass before merging
  • Require branches to be up to date before merging
  • Allow repository, and select non-repository, actions and reusable workflows
  • Allow GitHub Actions to create and approve pull requests
  • workflow permissions

Definition of Done

  • GitHub Action set up to check for certain repository settings
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

No branches or pull requests

1 participant