Skip to content

Commit

Permalink
Testing branch protection (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrod-lowe authored Aug 3, 2024
1 parent 2263347 commit 6b321c0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# Wildsea

Wildsea companion app

## Repository Setup

To set up a github repository:

* Log into Codacy, and connect the repo
* Create a branch restriction rule called "main":
* Enforcement: Active
* Target Branches: Include default branch
* Tick Restrict creations
* Tick Restrict updates
* Tick Restrict deletions
* Tick Require linear history
* Tick Require a pull request before merging
* Require 0 Approvals
* Require review from code owners
* Tick Require status checks to pass
* Tick require branches to be up to date before merging
* Add "Codacy Static Code Analysis" to status checks that are required
* Block force pushes
* TODO: Require code scanning results

0 comments on commit 6b321c0

Please sign in to comment.