Skip to content

Commit 41b12b3

Browse files
committed
build: improved CI processes
1 parent f619ac3 commit 41b12b3

File tree

5 files changed

+82
-12
lines changed

5 files changed

+82
-12
lines changed

.codecov .codecov.yaml

File renamed without changes.

.github/PULL_REQUEST_TEMPLATE.md

+38-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,40 @@
1-
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
2-
v ✰ Thanks for creating a PR! ✰
3-
v Before smashing the submit button please review the checkboxes.
4-
v If a checkbox is n/a - please still include it but + a little note why
5-
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->
6-
71
## Description
8-
<!-- Small description -->
92

10-
## Checklist
11-
- [ ] Targeted PR against correct branch.
12-
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
13-
- [ ] Wrote unit tests.
14-
- [ ] Re-reviewed `Files changed` in the Github PR explorer.
3+
Closes: #XXXX
4+
5+
<!-- Add a description of the changes that this PR introduces and the files that
6+
are the most critical to review. -->
7+
8+
---
9+
10+
### Author Checklist
11+
12+
*All items are required. Please add a note to the item if the item is not applicable and
13+
please add links to any relevant follow up issues.*
14+
15+
I have...
16+
17+
- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
18+
- [ ] added `!` to the type prefix if API or client breaking change
19+
- [ ] targeted the correct branch
20+
- [ ] provided a link to the relevant issue or specification
21+
- [ ] added a changelog entry to `CHANGELOG.md`
22+
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
23+
- [ ] updated the relevant documentation or specification
24+
- [ ] reviewed "Files changed" and left comments if necessary
25+
- [ ] confirmed all CI checks have passed
26+
27+
### Reviewers Checklist
28+
29+
*All items are required. Please add a note if the item is not applicable and please add
30+
your handle next to the items reviewed if you only reviewed selected items.*
31+
32+
I have...
33+
34+
- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
35+
- [ ] confirmed `!` in the type prefix if API or client breaking change
36+
- [ ] confirmed all author checklist items have been addressed
37+
- [ ] reviewed API design and naming
38+
- [ ] reviewed documentation is accurate
39+
- [ ] reviewed tests and test coverage
40+
- [ ] manually tested (if applicable)

.github/dependabot.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
- package-ecosystem: gomod
9+
directory: "/"
10+
schedule:
11+
interval: daily
12+
open-pull-requests-limit: 10
13+
reviewers:
14+
- riccardom
15+
labels:
16+
- automerge
17+
- dependencies

.github/workflows/lint-pr.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Lint PR"
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
jobs:
11+
main:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: amannn/action-semantic-pull-request@v3.4.2
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.mergify.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
pull_request_rules:
2+
- name: automerge to master with label automerge and branch protection passing
3+
conditions:
4+
- "#approved-reviews-by>1"
5+
- base=master
6+
- label=automerge
7+
actions:
8+
merge:
9+
method: squash
10+
strict: true
11+
commit_message: title+body

0 commit comments

Comments
 (0)