Skip to content

Commit

Permalink
Standard repo bits
Browse files Browse the repository at this point in the history
  • Loading branch information
Callisto13 committed Nov 16, 2022
1 parent d87ef57 commit 1021967
Show file tree
Hide file tree
Showing 9 changed files with 136 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

# Global owners
@richardcase
@callisto13
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Tell us about a problem you are experiencing
title: ''
labels: kind/bug
assignees: ''
---

**What happened:**
[A clear and concise description of what the bug is.]


**What did you expect to happen:**


**How to reproduce it:**
[Lots of detail please]

**Anything else you would like to add:**
[Miscellaneous information that will assist in solving the issue.]


**Environment:**

- operator version:
- OS (e.g. from `/etc/os-release`):
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Feature request
about: Suggest an idea for the microvm-operator
title: ''
labels: kind/feature
assigness: ''
---

**Describe the solution you'd like:**
[A clear and concise description of what you want to happen.]

**Why do you want this feature:**
[How does it benefit you/the project/the community?]

**Anything else you would like to add:**
[Miscellaneous information that will assist in solving the issue.]
27 changes: 27 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--
Label the PR with the kind of change this for:
kind/feature
kind/bug
kind/documentation
kind/regression
-->

**What this PR does / why we need it**:

<!-- Enter a description of the change and why this change is needed -->

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

<!-- Is there anything we should pay particular attention to? -->

**Checklist**:
<!-- Put an "X" character inside the brackets of each completed task. Some may be optional depending on the PR in which case these can be deleted -->

- [ ] squashed commits into logical changes
- [ ] includes documentation
- [ ] adds unit tests
- [ ] adds or updates e2e tests
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
labels:
- "kind/cleanup"
- "area/dependency"
15 changes: 15 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
changelog:
categories:
- title: 🚀 Enhancements
labels:
- kind/feature
- title: 🐛 Bugs
labels:
- kind/bug
- kind/regression
- title: 📖 Docs
labels:
- kind/documentation
- title: Other Changes
labels:
- "*"
18 changes: 18 additions & 0 deletions .github/workflows/pr_size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: pr_size

on: [pull_request]

jobs:
labeler:
runs-on: ubuntu-latest
name: Label the PR size
steps:
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_max_size: '50'
s_max_size: '200'
m_max_size: '1500'
l_max_size: '5000'
fail_if_xl: 'false'
message_if_xl: 'This PR is so big! Please, split it 😊'
20 changes: 20 additions & 0 deletions .github/workflows/pr_type.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: pr_type

on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled

jobs:
check_pull_request_type:
name: Check for PR kind
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
one_of: kind/bug,kind/improvement,kind/documentation,kind/feature,kind/regression,kind/refactor,kind/cleanup,kind/test,kind/chore,kind/dependencies
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1021967

Please sign in to comment.