Skip to content

Commit 1662958

Browse files
authored
Add line-openapi-update label if line-openapi is updated (#509)
* NO-ISSUE Add line-openapi-update label if line-openapi is updated * NO-ISSUE Add label for renovate
1 parent edfbf2b commit 1662958

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

.github/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
2+
changelog:
3+
categories:
4+
- title: Breaking Changes
5+
labels:
6+
- breaking-change
7+
- title: line-openapi updates
8+
labels:
9+
- line-openapi-update
10+
- title: New Features
11+
labels:
12+
- new-features
13+
- title: Bug fix
14+
labels:
15+
- bug-fix
16+
- title: Dependency updates
17+
labels:
18+
- dependency upgrade
19+
exclude:
20+
labels:
21+
- line-openapi-update
22+
- title: Other Changes
23+
labels:
24+
- "*"

.github/workflows/bump-minor-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
git commit -m "Bump version to $VERSION"
3434
3535
git push origin bump-version-to-$VERSION
36-
gh pr create -B ${{ github.ref_name }} --title "Bump version to $VERSION" --body "" --label "auto-generated-code"
36+
gh pr create -B ${{ github.ref_name }} --title "Bump version to $VERSION" --body "" --label "line-openapi-update"
3737
env:
3838
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

renovate.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,12 @@
77
"platformAutomerge": true,
88
"git-submodules": {
99
"enabled": true
10-
}
10+
},
11+
"labels": [ "dependency upgrade" ],
12+
"packageRules": [
13+
{
14+
"matchPackagePatterns": ["^line-openapi$"],
15+
"labels": ["dependency upgrade", "line-openapi-update"]
16+
}
17+
]
1118
}

0 commit comments

Comments
 (0)