-
Notifications
You must be signed in to change notification settings - Fork 177
Expand file tree
/
Copy path.asf.yaml
More file actions
160 lines (148 loc) · 5.02 KB
/
Copy path.asf.yaml
File metadata and controls
160 lines (148 loc) · 5.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
meta:
environment: github_rulesets
nextgen: true
github:
description: "Human-AI Collaborative Data Science Using Visual Workflows"
homepage: https://texera.apache.org/
ghp_branch: gh-pages
ghp_path: /
labels:
- human-ai-collaboration
- ai-agents
- visual-workflows
- data-science
- runtime-debugging
- artificial-intelligence
- machine-learning
- interactive-engine
- cloud-native
protected_tags:
- "v*.*.*"
dependabot_alerts: true
dependabot_updates: false
features:
# Enable wiki for documentation
wiki: true
# Enable issue management
issues: true
# Enable projects for project management boards
projects: true
# Enable github discussions
discussions: true
pull_requests:
# allow auto-merge
allow_auto_merge: true
# enable updating head branches of pull requests
allow_update_branch: true
# auto-delete head branches after being merged
del_branch_on_merge: true
enabled_merge_buttons:
squash: true
squash_commit_message: PR_TITLE_AND_DESC
merge: false
rebase: false
rulesets:
- name: Merge Queue
target: branch
enforcement: active
conditions:
ref_name:
exclude: []
include:
- "~DEFAULT_BRANCH"
# Merge queue rules do NOT support wildcard ref patterns, so
# release branches must be listed explicitly (not release/*).
# Add each release line here as it is cut.
- "refs/heads/release/v1.1"
- "refs/heads/release/v1.2"
rules:
- type: deletion
- type: non_fast_forward
- type: merge_queue
parameters:
merge_method: SQUASH
max_entries_to_build: 2
min_entries_to_merge: 2
max_entries_to_merge: 5
min_entries_to_merge_wait_minutes: 3
grouping_strategy: HEADGREEN
check_response_timeout_minutes: 45
- type: pull_request
parameters:
allowed_merge_methods:
- squash
dismiss_stale_reviews_on_push: false
require_code_owner_review: false
require_last_push_approval: false
required_approving_review_count: 1
required_review_thread_resolution: true
- type: required_linear_history
- type: required_status_checks
parameters:
strict_required_status_checks_policy: false
required_status_checks:
- context: Required Checks
- context: Check License Headers
- context: Validate PR title
- name: "Default Branch Protection"
type: branch
branches:
includes:
- "~DEFAULT_BRANCH"
- "release/*"
excludes: []
bypass_teams:
- "root" # apache/root — ASF Infra team
restrict_deletion: true
restrict_force_push: true
# Restrict who can create branches: everything is blocked except the
# allowlisted prefixes below (main, release/*, backport/*, gh-pages).
# `creation` is not available in asfyaml convenience syntax, and that
# syntax forbids mixing bypass_teams into a raw payload, so this
# ruleset uses the raw form with a numeric actor_id for the Infra team.
- name: "Restrict Branch Creation"
target: branch
enforcement: active
conditions:
ref_name:
include:
- "~ALL"
exclude:
# Globs don't cross '/' (even a trailing **), so use **/* to
# match branches at any depth under a prefix.
- "refs/heads/main"
- "refs/heads/release/**/*"
- "refs/heads/backport/**/*"
- "refs/heads/gh-pages"
- "refs/heads/dependabot/**/*"
- "refs/heads/gh-readonly-queue/**/*"
bypass_actors:
# apache/root — ASF Infra team.
- actor_id: 118420
actor_type: Team
bypass_mode: always
rules:
- type: creation
notifications:
commits: commits@texera.apache.org
issues: notifications@texera.apache.org
pullrequests: notifications@texera.apache.org
discussions: dev@texera.apache.org
jobs: commits@texera.apache.org