Skip to content

Commit

Permalink
ci(settings): capture rulesets for the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Sep 20, 2024
1 parent c12e681 commit a298f0a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,40 @@
_extends: .github

repository:
name: project
description: opinionated scaffolder for new projects
homepage: https://npm.im/@form8ion/project
private: false

rulesets:
- name: prevent destruction of the default branch
target: branch
enforcement: active
conditions:
ref_name:
include:
- "~DEFAULT_BRANCH"
rules:
- type: deletion
- type: non_fast_forward

- name: verification must pass
target: branch
enforcement: active
conditions:
ref_name:
include:
- "~DEFAULT_BRANCH"
rules:
- type: required_status_checks
parameters:
required_status_checks:
- context: workflow-result
integration_id: 15368
bypass_actors:
- actor_id: 5
actor_type: RepositoryRole
bypass_mode: pull_request
- actor_id: 3208999
actor_type: Team
bypass_mode: always

0 comments on commit a298f0a

Please sign in to comment.