add lock branch info (#44)

<!--- Provide a general summary of your changes in the Title above -->

## Description

Small additional information about the lock branch for the master.

## Motivation and Context

Changes should be pushed only to the edi-foundation-integration branch,
the master branch should only receive changes from the original
repository which this one is forked from.

## How Has This Been Tested?

N/A
This commit is contained in:
Danilo Mendes Rocha 2023-07-05 15:15:34 -03:00 committed by GitHub
commit 65aa5c5a1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,10 @@ These are the protection rules for the `master` and `edi-foundation-integration`
| Allow force pushes | `Disabled` | `Disabled` | N/A |
| Allow deletions | `Disabled` | `Disabled` | N/A |
## Locked master branch
The option to lock the `master` branch is enabled since no changes should be pushed to this branch except changes from the original repository `oauth2-proxy`, from which this one is forked. Pull request with changes should be pushed to the `edi-foundation-integration` branch. To pull changes from the `oauth2-proxy`, a user with admin permissions should disable the lock of the `master` branch, pull the changes from the original repository, and re-enable the lock on the master branch afterwards.
## Signed commits
It was added protection for all branches (pattern: `*`, `*/*` and `edi-foundation-integration`) in order to enforce signed commits. This configuration will help avoiding pull request completion issues because it'll enforce everyone to sign the commits in every branch not only in the main branch.