Skip to content

Commit

Permalink
config: split baseline and collaborators rules
Browse files Browse the repository at this point in the history
  • Loading branch information
loozhengyuan committed Oct 13, 2024
1 parent aca56cb commit ac11d3e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@ rulesets:
- type: non_fast_forward # Block force-push
- type: required_linear_history
- type: required_signatures
- name: collaborators
target: branch
enforcement: active
bypass_actors:
- actor_type: OrganizationAdmin
actor_id: 1
bypass_mode: always
- actor_type: RepositoryRole
actor_id: 5
bypass_mode: always
conditions:
ref_name:
include:
- "~DEFAULT_BRANCH"
exclude: []
rules:
- type: required_status_checks
parameters:
strict_required_status_checks_policy: false
Expand Down

0 comments on commit ac11d3e

Please sign in to comment.