Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit e3db8ce

Browse files
authored
chore: inherit from .github labels (#160)
same as open-component-model/ocm#1150
1 parent 0e325a7 commit e3db8ce

5 files changed

Lines changed: 73 additions & 81 deletions

File tree

.github/CODEOWNERS

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Default owners for everything in the repo.
2+
# Unless a later match takes precedence, the Maintainers team
3+
# will be requested for review when someone opens a pull request.
4+
* @open-component-model/Maintainers
5+
6+
# Changes on repository settings require admin permissions
7+
/.github/settings.yml @open-component-model/admins
8+
/.github/CODEOWNERS @open-component-model/admins
9+
10+
# Owners for specific directories
11+
#/docs/ @<org>/<team>
12+
#/src/ @<org>/<team>
13+
14+
# Owners for specific file types
15+
#*.md @<org>/<team>
16+
#*.go @<org>/<team>
17+
18+
# Individual users as owners, e.g. a lead maintainer for a specific component:
19+
# /src/critical-component/ @lead-maintainer-username

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,7 @@
1-
## Description
1+
<!-- markdownlint-disable MD041 -->
2+
#### What this PR does / why we need it
23

3-
<!--
4-
Please do not leave this blank
5-
This PR [adds/removes/fixes/replaces] the [feature/bug/etc].
4+
#### Which issue(s) this PR fixes
5+
<!--
6+
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
67
-->
7-
8-
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
9-
10-
11-
## What type of PR is this? (check all applicable)
12-
13-
- [ ] 🍕 Feature
14-
- [ ] 🐛 Bug Fix
15-
- [ ] 📝 Documentation Update
16-
- [ ] 🎨 Style
17-
- [ ] 🧑‍💻 Code Refactor
18-
- [ ] 🔥 Performance Improvements
19-
- [ ] ✅ Test
20-
- [ ] 🤖 Build
21-
- [ ] 🔁 CI
22-
- [ ] 📦 Chore (Release)
23-
- [ ] ⏩ Revert
24-
25-
## Related Tickets & Documents
26-
27-
<!--
28-
Please use this format link issue numbers: Fixes #123
29-
https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
30-
-->
31-
- Related Issue # (issue)
32-
- Closes # (issue)
33-
- Fixes # (issue)
34-
> Remove if not applicable
35-
36-
## Screenshots
37-
38-
<!-- Visual changes require screenshots -->
39-
40-
41-
## Added tests?
42-
43-
- [ ] 👍 yes
44-
- [ ] 🙅 no, because they aren't needed
45-
- [ ] 🙋 no, because I need help
46-
- [ ] Separate ticket for tests # (issue/pr)
47-
48-
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
49-
50-
51-
## Added to documentation?
52-
53-
- [ ] 📜 README.md
54-
- [ ] 🙅 no documentation needed
55-
56-
## Checklist:
57-
58-
- [ ] My code follows the style guidelines of this project
59-
- [ ] I have performed a self-review of my code
60-
- [ ] I have commented my code, particularly in hard-to-understand areas
61-
- [ ] I have made corresponding changes to the documentation
62-
- [ ] My changes generate no new warnings
63-
- [ ] I have added tests that prove my fix is effective or that my feature works
64-
- [ ] New and existing unit tests pass locally with my changes
65-
- [ ] Any dependent changes have been merged and published in downstream modules

.github/dependabot.yml

Lines changed: 37 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,40 @@
11
version: 2
22

33
updates:
4-
- package-ecosystem: "github-actions"
5-
directory: "/"
6-
groups:
7-
# xref: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups
8-
ci:
9-
patterns:
10-
- "*"
11-
schedule:
12-
interval: "weekly"
13-
day: "sunday"
14-
- package-ecosystem: "gomod"
15-
directory: "/"
16-
groups:
17-
go:
18-
update-types: ["minor","patch"]
19-
schedule:
20-
interval: "weekly"
21-
day: "sunday"
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
groups:
7+
# xref: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups
8+
ci:
9+
patterns:
10+
- "*"
11+
schedule:
12+
interval: "weekly"
13+
day: "sunday"
14+
labels:
15+
- kind/dependency
16+
- kind/chore
17+
- kind/skip-release-notes
18+
- component/github-actions
19+
- package-ecosystem: "gomod"
20+
directory: "/"
21+
groups:
22+
go:
23+
update-types: [ "minor", "patch" ]
24+
schedule:
25+
interval: "weekly"
26+
day: "sunday"
27+
labels:
28+
- kind/dependency
29+
- kind/chore
30+
- package-ecosystem: "docker"
31+
directory: "/"
32+
groups:
33+
docker:
34+
update-types: [ "minor", "patch" ]
35+
schedule:
36+
interval: "weekly"
37+
day: "sunday"
38+
labels:
39+
- kind/dependency
40+
- kind/chore

.github/settings.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# These settings are synced to GitHub by https://probot.github.io/apps/settings/
2+
3+
# see: https://github.com/open-component-model/.github/blob/main/.github/settings.yml
4+
_extends: .github
5+
6+
repository:
7+
topics: ocm, open-component-model, k8s-controller
8+
9+
labels:
10+
- name: repo/git-controller
11+
color: bfd4f2

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ Dockerfile.cross
2525
*.swo
2626
*~
2727
tilt-settings.yaml
28+
/.project

0 commit comments

Comments
 (0)