Skip to content

Commit

Permalink
chore: inherit from .github labels (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmarf authored Nov 29, 2024
1 parent 0e325a7 commit e3db8ce
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 81 deletions.
19 changes: 19 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Default owners for everything in the repo.
# Unless a later match takes precedence, the Maintainers team
# will be requested for review when someone opens a pull request.
* @open-component-model/Maintainers

# Changes on repository settings require admin permissions
/.github/settings.yml @open-component-model/admins
/.github/CODEOWNERS @open-component-model/admins

# Owners for specific directories
#/docs/ @<org>/<team>
#/src/ @<org>/<team>

# Owners for specific file types
#*.md @<org>/<team>
#*.go @<org>/<team>

# Individual users as owners, e.g. a lead maintainer for a specific component:
# /src/critical-component/ @lead-maintainer-username
68 changes: 5 additions & 63 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,65 +1,7 @@
## Description
<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it

<!--
Please do not leave this blank
This PR [adds/removes/fixes/replaces] the [feature/bug/etc].
#### Which issue(s) this PR fixes
<!--
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

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.


## What type of PR is this? (check all applicable)

- [ ] 🍕 Feature
- [ ] 🐛 Bug Fix
- [ ] 📝 Documentation Update
- [ ] 🎨 Style
- [ ] 🧑‍💻 Code Refactor
- [ ] 🔥 Performance Improvements
- [ ] ✅ Test
- [ ] 🤖 Build
- [ ] 🔁 CI
- [ ] 📦 Chore (Release)
- [ ] ⏩ Revert

## Related Tickets & Documents

<!--
Please use this format link issue numbers: Fixes #123
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
-->
- Related Issue # (issue)
- Closes # (issue)
- Fixes # (issue)
> Remove if not applicable
## Screenshots

<!-- Visual changes require screenshots -->


## Added tests?

- [ ] 👍 yes
- [ ] 🙅 no, because they aren't needed
- [ ] 🙋 no, because I need help
- [ ] Separate ticket for tests # (issue/pr)

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


## Added to documentation?

- [ ] 📜 README.md
- [ ] 🙅 no documentation needed

## Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
55 changes: 37 additions & 18 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,40 @@
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
groups:
# xref: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups
ci:
patterns:
- "*"
schedule:
interval: "weekly"
day: "sunday"
- package-ecosystem: "gomod"
directory: "/"
groups:
go:
update-types: ["minor","patch"]
schedule:
interval: "weekly"
day: "sunday"
- package-ecosystem: "github-actions"
directory: "/"
groups:
# xref: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups
ci:
patterns:
- "*"
schedule:
interval: "weekly"
day: "sunday"
labels:
- kind/dependency
- kind/chore
- kind/skip-release-notes
- component/github-actions
- package-ecosystem: "gomod"
directory: "/"
groups:
go:
update-types: [ "minor", "patch" ]
schedule:
interval: "weekly"
day: "sunday"
labels:
- kind/dependency
- kind/chore
- package-ecosystem: "docker"
directory: "/"
groups:
docker:
update-types: [ "minor", "patch" ]
schedule:
interval: "weekly"
day: "sunday"
labels:
- kind/dependency
- kind/chore
11 changes: 11 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# These settings are synced to GitHub by https://probot.github.io/apps/settings/

# see: https://github.com/open-component-model/.github/blob/main/.github/settings.yml
_extends: .github

repository:
topics: ocm, open-component-model, k8s-controller

labels:
- name: repo/git-controller
color: bfd4f2
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ Dockerfile.cross
*.swo
*~
tilt-settings.yaml
/.project

0 comments on commit e3db8ce

Please sign in to comment.