mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
github: Setup protection for master branch.
* We do not have "Settings" tab in the Apache's owned repository, thus we need to update .asf.yaml file with repository settings. * No direct push to master branch is possible. * Require status checks to pass before merge. * Setup reviews parameters. * Require signatures. * Require conversation resolution. * Require linear history. Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
This commit is contained in:
parent
1e053ee936
commit
fa0e073baf
1 changed files with 19 additions and 8 deletions
27
.asf.yaml
27
.asf.yaml
|
|
@ -1,10 +1,9 @@
|
||||||
|
# Reference: https://github.com/apache/infrastructure-asfyaml.
|
||||||
github:
|
github:
|
||||||
description: "Apache NuttX Apps is a collection of tools, shells, network utilities, libraries, interpreters and can be used with the NuttX RTOS"
|
description: "Apache NuttX Apps is a collection of tools, shells, network utilities, libraries, interpreters and can be used with the NuttX RTOS"
|
||||||
homepage: https://nuttx.apache.org/
|
homepage: https://nuttx.apache.org/
|
||||||
features:
|
features:
|
||||||
# Enable issues management
|
|
||||||
issues: true
|
issues: true
|
||||||
# Enable project for project management boards
|
|
||||||
projects: true
|
projects: true
|
||||||
labels:
|
labels:
|
||||||
- nuttx
|
- nuttx
|
||||||
|
|
@ -14,9 +13,21 @@ github:
|
||||||
- mcu
|
- mcu
|
||||||
- microcontroller
|
- microcontroller
|
||||||
enabled_merge_buttons:
|
enabled_merge_buttons:
|
||||||
# disable squash button:
|
squash: false
|
||||||
squash: false
|
merge: false
|
||||||
# disable merge button:
|
rebase: true
|
||||||
merge: false
|
protected_branches:
|
||||||
# enable rebase button:
|
master:
|
||||||
rebase: true
|
required_status_checks:
|
||||||
|
strict: true
|
||||||
|
contexts:
|
||||||
|
- Check
|
||||||
|
- Lint
|
||||||
|
- Build
|
||||||
|
required_pull_request_reviews:
|
||||||
|
dismiss_stale_reviews: true
|
||||||
|
require_last_push_approval: true
|
||||||
|
required_approving_review_count: 2
|
||||||
|
required_linear_history: true
|
||||||
|
required_signatures: true
|
||||||
|
required_conversation_resolution: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue