Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
venh authored Jun 30, 2021
1 parent ce581bd commit b5650bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ This action will set / delete Branch Protection rules on specified branches of G
**Required**
**Description** - The path of the Rules JSON file with Branch name as Key and Rules as Value. Format of the file is given below. The below JSON applies branch protection rules to release and main branches of a repo.

```
{
"release" : {
"restrictions": {
Expand All @@ -43,6 +44,7 @@ This action will set / delete Branch Protection rules on specified branches of G
}
}
}
```

### `includedReposPath`
**Description** - Path of the text file (.txt) with only those repos on which the branch protection needs to be applied. Specify every repo name (without org/ prefix) on a new line. This is optional. If not provided, branch protection will be set on all the repos within the organization.
Expand Down

0 comments on commit b5650bf

Please sign in to comment.