Skip to content

Commit

Permalink
Add line-openapi-update label if line-openapi is updated (#509)
Browse files Browse the repository at this point in the history
* NO-ISSUE Add line-openapi-update label if line-openapi is updated

* NO-ISSUE Add label for renovate
  • Loading branch information
Yang-33 committed Aug 25, 2023
1 parent edfbf2b commit 1662958
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
changelog:
categories:
- title: Breaking Changes
labels:
- breaking-change
- title: line-openapi updates
labels:
- line-openapi-update
- title: New Features
labels:
- new-features
- title: Bug fix
labels:
- bug-fix
- title: Dependency updates
labels:
- dependency upgrade
exclude:
labels:
- line-openapi-update
- title: Other Changes
labels:
- "*"
2 changes: 1 addition & 1 deletion .github/workflows/bump-minor-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ jobs:
git commit -m "Bump version to $VERSION"
git push origin bump-version-to-$VERSION
gh pr create -B ${{ github.ref_name }} --title "Bump version to $VERSION" --body "" --label "auto-generated-code"
gh pr create -B ${{ github.ref_name }} --title "Bump version to $VERSION" --body "" --label "line-openapi-update"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9 changes: 8 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,12 @@
"platformAutomerge": true,
"git-submodules": {
"enabled": true
}
},
"labels": [ "dependency upgrade" ],
"packageRules": [
{
"matchPackagePatterns": ["^line-openapi$"],
"labels": ["dependency upgrade", "line-openapi-update"]
}
]
}

0 comments on commit 1662958

Please sign in to comment.