Skip to content

Commit 9c3e73f

Browse files
authored
feat: release (#10)
1 parent 2171eb9 commit 9c3e73f

File tree

3 files changed

+27
-13
lines changed

3 files changed

+27
-13
lines changed

.github/workflows/release-please.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
name: release-please
6+
jobs:
7+
release-please:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: GoogleCloudPlatform/release-please-action@v2
11+
with:
12+
pull-request-title-pattern: 'chore${scope}: release${component} ${version}'
13+
release-type: go
14+
package-name: gotcha-release

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ In the *build* folder, you will find a file called **config.yaml** which is inte
5454

5555
**Layout**:
5656

57-
| Level | Description | Type | Default |
58-
|--------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|-----------------------------------------------------------------------------------------------------|
59-
| administration &#8594; permission | Users who are allowed to execute commands such as pull request approval, test re-runs and others. <br/> The permissions here are one level above the *repositories* item, so they overlap the others. | list(string) | None |
60-
| administration &#8594; permission &#8594; repositories | Users with permissions on certain repositories. | list(object) | None |
61-
| pullRequest &#8594; approveCommand | Command for approval of the PR by *Gotcha*. | string | lgtm |
62-
| pullRequest &#8594; runTestSuiteCommand | Command to re-run the test suite. | string | run testsuite |
63-
| pullRequest &#8594; mergeCommand | Command for merge of the PR by *Gotcha*. | string | merge |
64-
| pullRequest &#8594; mergeAndDeleteCommand | Command for merge and delete ref branch of the PR by *Gotcha*. | string | merge and delete |
65-
| pullRequest &#8594; testSuite &#8594; namePattern | Format (regex) that pull request name must follow.<br/> Default value is based on [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/). | string(regex) | (?P<type>feat&#124;fix&#124;refactor&#124;style&#124;docs&#124;build)(?P<separator>:) (?P<body>.+)' |
66-
| pullRequest &#8594; testSuite &#8594; reviewers | Need to have reviewers on the pull request. | bool | false |
67-
| pullRequest &#8594; testSuite &#8594; assignees | Need to have assignees on the pull request. | bool | true |
68-
| pullRequest &#8594; testSuite &#8594; labels | Need to have labels on the pull request. | bool | true |
57+
| Level | Description | Type | Default |
58+
|--------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|----------------------------------------------------------------------------------------------------------------|
59+
| administration &#8594; permission | Users who are allowed to execute commands such as pull request approval, test re-runs and others. <br/> The permissions here are one level above the *repositories* item, so they overlap the others. | list(string) | None |
60+
| administration &#8594; permission &#8594; repositories | Users with permissions on certain repositories. | list(object) | None |
61+
| pullRequest &#8594; approveCommand | Command for approval of the PR by *Gotcha*. | string | lgtm |
62+
| pullRequest &#8594; runTestSuiteCommand | Command to re-run the test suite. | string | run testsuite |
63+
| pullRequest &#8594; mergeCommand | Command for merge of the PR by *Gotcha*. | string | merge |
64+
| pullRequest &#8594; mergeAndDeleteCommand | Command for merge and delete ref branch of the PR by *Gotcha*. | string | merge and delete |
65+
| pullRequest &#8594; testSuite &#8594; namePattern | Format (regex) that pull request name must follow.<br/> Default value is based on [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/). | string(regex) | (?P<type>feat&#124;fix&#124;refactor&#124;style&#124;docs&#124;build&#124;chore)(?P<separator>:) (?P<body>.+)' |
66+
| pullRequest &#8594; testSuite &#8594; reviewers | Need to have reviewers on the pull request. | bool | false |
67+
| pullRequest &#8594; testSuite &#8594; assignees | Need to have assignees on the pull request. | bool | true |
68+
| pullRequest &#8594; testSuite &#8594; labels | Need to have labels on the pull request. | bool | true |
6969

7070

7171
**Github**:

build/config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ layout:
1414
mergeCommand: merge
1515
mergeAndDeleteCommand: merge and delete
1616
testSuite:
17-
namePattern: (?P<type>feat|fix|refactor|style|docs|build)(?P<separator>:) (?P<body>.+)
17+
namePattern: (?P<type>feat|fix|refactor|style|docs|build|chore)(?P<separator>:) (?P<body>.+)
1818
reviewers: false
1919
assignees: true
2020
labels: true

0 commit comments

Comments
 (0)