Skip to content

Commit 70a5ce5

Browse files
authored
Clean up reposettings (NR-219611) (#79)
* clean up reposettings * add a comment on the reposettings config too
1 parent 06409a8 commit 70a5ce5

File tree

3 files changed

+134
-154
lines changed

3 files changed

+134
-154
lines changed

.github/workflows/reposettings.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@
44

55
This repository acts as a place to put actions automating tasks for the Core Integrations team.
66

7-
## Deployed actions
8-
9-
### Reposettings
10-
11-
Upstream: [txqueuelen/reposettings](https://github.com/txqueuelen/reposettings)
12-
13-
Reposettings reads a YAML file and ensures that repositories match the specified config.
14-
157
## Shared Workflows
168

179
All Workflows located under .github/workflows with prefix `reusable_` are meant to be used by external repos (mainly ohi).
@@ -84,6 +76,15 @@ If you would like to contribute to this project, review [these guidelines](./CON
8476

8577
To all contributors, we thank you! Without your contribution, this project would not be what it is today. We also host a community project page dedicated to [Project Name](<LINK TO https://opensource.newrelic.com/projects/... PAGE>).
8678

79+
## Deprecated
80+
81+
### Reposettings
82+
83+
Upstream: [txqueuelen/reposettings](https://github.com/txqueuelen/reposettings)
84+
85+
Reposettings reads a YAML file and ensures that repositories match the specified config. It is deprecated because there is an organization level policy that forces branch protections. I leave the configuration
86+
just in case we need to set labels globally in a easy way. But the workflow that runs the cronjob has been removed.
87+
8788
## Support
8889

8990
New Relic hosts and moderates an online forum where customers can interact with New Relic employees as well as other customers to get help and share best practices. Like all official New Relic open source projects, there's a related [Community](https://forum.newrelic.com) topic in the New Relic Explorers Hub.

reposettings.yml

Lines changed: 125 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -1,133 +1,135 @@
1-
# Coreint settings
1+
### If you change this file hoping to change all the repos, you should read the README file.
2+
###
3+
### reposettings pipelines has been deprecated and will not trigger automatically anymore.
4+
### This file is here just in case we need to run it manually for some reason.
25

3-
labels-common: &labels-common
4-
bug:
5-
color: e11d21
6-
description: Categorizes issue or PR as related to a bug.
7-
replaces: [ kind/bug ]
8-
cleanup:
9-
color: c7def8
10-
description: Categorizes issue or PR as related to cleaning up code, process, or technical debt.
11-
replaces: [ kind/cleanup ]
12-
sustain:
13-
color: c7def8
14-
description: Categorizes issue or PR as related to sustainability.
15-
replaces: [ kind/sustain ]
16-
deprecation:
17-
color: e11d21
18-
description: Categorizes issue or PR as related to a feature/enhancement marked for deprecation.
19-
replaces: [ kind/deprecation ]
20-
design:
21-
color: c7def8
22-
description: Categorizes issue or PR as related to design.
23-
replaces: [ kind/design ]
24-
documentation:
25-
color: 0075ca
26-
description: Categorizes issue or PR as related to documentation.
27-
replaces: [ kind/documentation, doc ]
28-
test:
29-
color: e11d21
30-
description: Categorizes issue or PR as related to a consistently or frequently failing test.
31-
replaces: [ kind/test ]
32-
feature request:
33-
color: c7def8
34-
description: Categorizes issue or PR as related to a new feature or enhancement.
35-
replaces: [ kind/feature, enhancement, feature ]
36-
regression:
37-
color: e11d21
38-
description: Categorizes issue or PR as related to a regression from a prior release.
39-
replaces: [ kind/regression ]
40-
support:
41-
color: d876e3
42-
description: Categorizes issue or PR as a support question.
43-
replaces: [ kind/support, question ]
6+
coreint-settings: &coreint-settings
7+
# branch-protection:
8+
# dissmiss-stale-reviews: false
9+
# required-review-count: 1
10+
# required-linear-history: true
11+
# enforce-admins: true
12+
# block-creations: true # As of today, in the UI, this is called "Restrict pushes that create matching branches".
13+
# required-pull-request-reviews:
14+
# bypass-pull-request-allowances: # As of today, in the UI, this is called "Allow specified actors to bypass required pull requests".
15+
# users:
16+
# - newrelic-coreint-bot
17+
# apps:
18+
# - renovate
19+
# push-restrictions:
20+
# users:
21+
# - newrelic-coreint-bot
22+
# apps:
23+
# - renovate
24+
# allow:
25+
# squash-merge: true
26+
# merge-commit: false
27+
# rebase-merge: false
28+
# delete-branch-on-merge: true
29+
# protect-default-brach: true
4430

45-
triage/pending:
46-
color: 1D76DB
47-
description: Issue or PR is pending for triage and prioritization.
48-
replaces: [ triage/needed ]
49-
triage/in-progress:
50-
color: 1D76DB
51-
description: Issue or PR is in the process of being triaged.
52-
triage/accepted:
53-
color: 8fc951
54-
description: Indicates an issue or PR is ready to be actively worked on.
55-
triage/duplicate:
56-
color: cfd3d7
57-
description: Indicates an issue is a duplicate of other open issue.
58-
replaces: [ duplicate, dupe ]
59-
triage/needs-information:
60-
color: d455d0
61-
description: Indicates an issue needs more information in order to work on it.
62-
replaces: [ needs-information, needs-more-information ]
63-
triage/not-reproducible:
64-
color: d455d0
65-
description: Indicates an issue can not be reproduced as described.
66-
replaces: [ not-reproducible, cannot-reproduce ]
67-
triage/as-intended:
68-
color: ffffff
69-
description: Indicates an issue that can not or will not be resolved.
70-
replaces: [ wontfix, triage/wontfix ]
31+
labels:
32+
bug:
33+
color: e11d21
34+
description: Categorizes issue or PR as related to a bug.
35+
replaces: [ kind/bug ]
36+
cleanup:
37+
color: c7def8
38+
description: Categorizes issue or PR as related to cleaning up code, process, or technical debt.
39+
replaces: [ kind/cleanup ]
40+
sustain:
41+
color: c7def8
42+
description: Categorizes issue or PR as related to sustainability.
43+
replaces: [ kind/sustain ]
44+
deprecation:
45+
color: e11d21
46+
description: Categorizes issue or PR as related to a feature/enhancement marked for deprecation.
47+
replaces: [ kind/deprecation ]
48+
design:
49+
color: c7def8
50+
description: Categorizes issue or PR as related to design.
51+
replaces: [ kind/design ]
52+
documentation:
53+
color: 0075ca
54+
description: Categorizes issue or PR as related to documentation.
55+
replaces: [ kind/documentation, doc ]
56+
test:
57+
color: e11d21
58+
description: Categorizes issue or PR as related to a consistently or frequently failing test.
59+
replaces: [ kind/test ]
60+
feature request:
61+
color: c7def8
62+
description: Categorizes issue or PR as related to a new feature or enhancement.
63+
replaces: [ kind/feature, enhancement, feature ]
64+
regression:
65+
color: e11d21
66+
description: Categorizes issue or PR as related to a regression from a prior release.
67+
replaces: [ kind/regression ]
68+
support:
69+
color: d876e3
70+
description: Categorizes issue or PR as a support question.
71+
replaces: [ kind/support, question ]
7172

72-
priority/backlog:
73-
color: fbca04
74-
description: Generalistic priority.
75-
priority/critical:
76-
color: e11d21
77-
description: Highest priority. Must be actively worked on as someone's top priority right now.
78-
priority/long-term:
79-
color: ffaa04
80-
description: Important over the long term, but may not be staffed and/or may need multiple releases to complete.
81-
priority/short-term:
82-
color: eb6420
83-
description: Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
73+
triage/pending:
74+
color: 1D76DB
75+
description: Issue or PR is pending for triage and prioritization.
76+
replaces: [ triage/needed ]
77+
triage/in-progress:
78+
color: 1D76DB
79+
description: Issue or PR is in the process of being triaged.
80+
triage/accepted:
81+
color: 8fc951
82+
description: Indicates an issue or PR is ready to be actively worked on.
83+
triage/duplicate:
84+
color: cfd3d7
85+
description: Indicates an issue is a duplicate of other open issue.
86+
replaces: [ duplicate, dupe ]
87+
triage/needs-information:
88+
color: d455d0
89+
description: Indicates an issue needs more information in order to work on it.
90+
replaces: [ needs-information, needs-more-information ]
91+
triage/not-reproducible:
92+
color: d455d0
93+
description: Indicates an issue can not be reproduced as described.
94+
replaces: [ not-reproducible, cannot-reproduce ]
95+
triage/as-intended:
96+
color: ffffff
97+
description: Indicates an issue that can not or will not be resolved.
98+
replaces: [ wontfix, triage/wontfix ]
8499

85-
Epic: # Created by ZenHub, no need to touch
86-
color: 3E4B9E
100+
priority/backlog:
101+
color: fbca04
102+
description: Generalistic priority.
103+
priority/critical:
104+
color: e11d21
105+
description: Highest priority. Must be actively worked on as someone's top priority right now.
106+
priority/long-term:
107+
color: ffaa04
108+
description: Important over the long term, but may not be staffed and/or may need multiple releases to complete.
109+
priority/short-term:
110+
color: eb6420
111+
description: Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
87112

88-
repolinter: # Used across all open-source NR repos
89-
color: fbca04
90-
good first issue:
91-
color: 7057ff
92-
dependencies: # Added by dependabot
93-
color: 0366D6
94-
breaking:
95-
color: B60205
96-
do-not-merge:
97-
color: B60205
113+
Epic: # Created by ZenHub, no need to touch
114+
color: 3E4B9E
98115

99-
ci/skip-e2e:
100-
color: E2E2E2
101-
description: E2E tests will be skipped for this PR
102-
ci/skip-load-test:
103-
color: AE5904
104-
description: Load tests will be skipped for this PR
116+
repolinter: # Used across all open-source NR repos
117+
color: fbca04
118+
good first issue:
119+
color: 7057ff
120+
dependencies: # Added by dependabot/renovatebot
121+
color: 0366D6
122+
breaking:
123+
color: B60205
124+
do-not-merge:
125+
color: B60205
105126

106-
coreint-settings: &coreint-settings
107-
branch-protection:
108-
dissmiss-stale-reviews: false
109-
required-review-count: 1
110-
required-linear-history: true
111-
enforce-admins: true
112-
block-creations: true # As of today, in the UI, this is called "Restrict pushes that create matching branches".
113-
required-pull-request-reviews:
114-
bypass-pull-request-allowances: # As of today, in the UI, this is called "Allow specified actors to bypass required pull requests".
115-
users:
116-
- newrelic-coreint-bot
117-
apps:
118-
- renovate
119-
push-restrictions:
120-
users:
121-
- newrelic-coreint-bot
122-
apps:
123-
- renovate
124-
allow:
125-
squash-merge: true
126-
merge-commit: false
127-
rebase-merge: false
128-
delete-branch-on-merge: true
129-
protect-default-brach: true
130-
labels: *labels-common
127+
ci/skip-e2e:
128+
color: E2E2E2
129+
description: E2E tests will be skipped for this PR
130+
ci/skip-load-test:
131+
color: AE5904
132+
description: Load tests will be skipped for this PR
131133

132134
repos:
133135
newrelic/coreint-automation: *coreint-settings

0 commit comments

Comments
 (0)