Skip to content

Commit d532b64

Browse files
authored
compliance(DCO): Enforce rulesets also for ODG repositories (#88)
<!-- markdownlint-disable MD041 --> #### What this PR does / why we need it Do not exclude ODG repositories from branch-protections (enforcing DCO and other things) anymore. #### Which issue(s) this PR is related to <!-- Usage: `Related to #<issue number>`, or `Related to (paste link of issue)`. --> open-component-model/open-delivery-gear#67 --------- Signed-off-by: Philipp Heil (zkdev) <philipp.heil@sap.com>
1 parent b5b9d0b commit d532b64

4 files changed

Lines changed: 4 additions & 10 deletions

File tree

labels/label_mappings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"area/open-source": "area/community",
3-
"component/ocm-website": "area/documentation",
43
"area/networking": "area/network",
54
"testing": "area/testing",
65
"github-actions": "component/github-actions",

safe-settings/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ restrictedRepos:
55
- '^\.github$'
66
- '^jenkins-library$'
77
- '^cobra$'
8-
- '^delivery-*'
9-
- '^ocm-gear$'
10-
- '^prometheus$'
118
- '^vscode-ocm-tools$' # archived
129
- '^ocm-k8s-toolkit$' # archived
1310
- 'service-model' # archived

safe-settings/settings.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ rulesets:
4242
- actor_id: 295948 # ocm-bot
4343
actor_type: Integration
4444
bypass_mode: always
45+
- actor_id: 2439345 # odg ci (https://github.com/apps/federated-github-access)
46+
actor_type: Integration
47+
bypass_mode: always
4548
conditions:
4649
# Parameters for a repository ruleset ref name condition
4750
ref_name:
@@ -62,7 +65,7 @@ rulesets:
6265
# Array of repository names or patterns to exclude. The
6366
# condition will not pass if any of these patterns
6467
# match.
65-
exclude: ['.github', 'jenkins-library', 'cobra', 'delivery-*', 'ocm-gear*', 'prometheus', 'ocm-controller']
68+
exclude: ['.github', 'jenkins-library', 'cobra', 'ocm-controller']
6669
# Whether renaming of target repositories is
6770
# prevented.
6871
protected: true

safe-settings/suborgs/ocm.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
suborgrepos:
33
- demo-secure-delivery
44
- homebrew-tap
5-
- internal-processes
65
- ocm
76
- ocm-action
87
- ocm-controller
@@ -12,7 +11,6 @@ suborgrepos:
1211
- ocm-project
1312
- ocm-setup-action
1413
- ocm-spec
15-
- ocm-website
1614
- open-component-model
1715
- pkg
1816
- podinfo
@@ -161,9 +159,6 @@ labels:
161159
- name: component/ocm-spec
162160
color: 25399e
163161
description: Open Component Model Specification
164-
- name: component/ocm-website
165-
color: 25399e
166-
description: https://ocm.software/
167162
- name: component/github-actions
168163
color: 25399e
169164
description: Changes on GitHub Actions or within `.github/` directory

0 commit comments

Comments
 (0)