diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 000000000..fe1b7dc87 --- /dev/null +++ b/.github/release.yml @@ -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: + - "*" diff --git a/.github/workflows/bump-minor-version.yml b/.github/workflows/bump-minor-version.yml index ab7c8132d..bd5a79e6a 100644 --- a/.github/workflows/bump-minor-version.yml +++ b/.github/workflows/bump-minor-version.yml @@ -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 }} diff --git a/renovate.json b/renovate.json index b9fb375d5..7dac1bf1a 100644 --- a/renovate.json +++ b/renovate.json @@ -7,5 +7,12 @@ "platformAutomerge": true, "git-submodules": { "enabled": true - } + }, + "labels": [ "dependency upgrade" ], + "packageRules": [ + { + "matchPackagePatterns": ["^line-openapi$"], + "labels": ["dependency upgrade", "line-openapi-update"] + } + ] }