Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: initial repo setup #21

Merged
merged 2 commits into from
Jun 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Global owners
@richardcase
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.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:**


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


**Environment:**

- reignite 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
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Feature enhancement request
about: Suggest an idea for reignite
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:**

**Anything else you would like to add:**
[Miscellaneous information that will assist in solving the issue.]
35 changes: 35 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!--
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**:

**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
- [ ] includes documentation
- [ ] adds unit tests
- [ ] adds or updates e2e tests

**Release note**:
<!-- Write your release note:
1. Enter your extended release note in the below block.
2. If the PR requires additional action from users switching to the new release, include the string "action required".
2. If no release note is required, just write "NONE"....however we encourage contributors to never use this as release notes are incredible useful.
-->
```release-note

```
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
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/documentation,kind/feature,kind/regression
repo_token: ${{ secrets.GITHUB_TOKEN }}
14 changes: 14 additions & 0 deletions .github/workflows/releasenote.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: releasenote

on: [pull_request]

jobs:
labeler:
runs-on: ubuntu-latest
name: Release notes check
steps:
- name: Check for release note
id: rn
uses: richardcase/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24 changes: 24 additions & 0 deletions .github/workflows/titlecheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: titlecheck

on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened

jobs:
titlecheck:
name: PR title follows coventional commit
runs-on: ubuntu-latest
steps:
- name: Check conventinal title
uses: aslafy-z/conventional-pr-title-action@master
with:
success-state: Title follows the specification.
failure-state: Title does not follow the specification. See https://www.conventionalcommits.org/en/v1.0.0/
context-name: conventional-pr-title
preset: conventional-changelog-angular@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Test binary
*.test

# Output of the go coverage tool
coverage.out

# GoReleaser dist folder
dist/

# Bin
bin/

# direnv files:
.envrc

# vim swp files
*.swp

# IDE dirs
.vscode/
.idea/

.DS_Store
7 changes: 7 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Community Code of Conduct

Weaveworks follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).

Instances of abusive, harassing, or otherwise unacceptable behavior
may be reported by contacting a Weaveworks project maintainer, or
Alexis Richardson ([email protected]).
Loading