diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..57f886d --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,4 @@ + +# Global owners +@richardcase +@callisto13 diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md new file mode 100644 index 0000000..fb2b253 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -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`): diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..ec4bb38 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature.md b/.github/ISSUE_TEMPLATE/feature.md new file mode 100644 index 0000000..6608f31 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.md @@ -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.] diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..5bd15ce --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,27 @@ + + +**What this PR does / why we need it**: + + + +**Which issue(s) this PR fixes** *(optional, in `fixes #(, fixes #, ...)` format, will close the issue(s) when PR gets merged)*: +Fixes # + +**Special notes for your reviewer**: + + + +**Checklist**: + + +- [ ] squashed commits into logical changes +- [ ] includes documentation +- [ ] adds unit tests +- [ ] adds or updates e2e tests diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..c738679 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,9 @@ +version: 2 +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + labels: + - "kind/cleanup" + - "area/dependency" \ No newline at end of file diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..7878eb7 --- /dev/null +++ b/.github/release.yml @@ -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: + - "*" \ No newline at end of file diff --git a/.github/workflows/pr_size.yml b/.github/workflows/pr_size.yml new file mode 100644 index 0000000..0f72a29 --- /dev/null +++ b/.github/workflows/pr_size.yml @@ -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 😊' \ No newline at end of file diff --git a/.github/workflows/pr_type.yml b/.github/workflows/pr_type.yml new file mode 100644 index 0000000..f950f96 --- /dev/null +++ b/.github/workflows/pr_type.yml @@ -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 }}