diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index de9f2de1d4..9c4856a72a 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -19,9 +19,8 @@ jobs: disable-sudo: true egress-policy: audit - - uses: google-github-actions/release-please-action@db8f2c60ee802b3748b512940dde88eabd7b7e01 # v3.7.13 + - uses: google-github-actions/release-please-action@a6d1fd9854c8c40688a72f7e4b072a1e965860a0 # v4.0.0 with: - release-type: go - changelog-path: src/Agent/CHANGELOG.md token: ${{ secrets.DOTNET_AGENT_GH_TOKEN }} - changelog-types: '[{"type":"notice","section":"Notice","hidden":false},{"type":"feat","section":"New features","hidden":false},{"type":"fix","section":"Fixes","hidden":false},{"type":"security","section":"Security","hidden":false}]' + config-file: release-please/release-please-config.json + manifest-file: release-please/.release-please-manifest.json \ No newline at end of file diff --git a/release-please/.release-please-manifest.json b/release-please/.release-please-manifest.json new file mode 100644 index 0000000000..f770dbd2d2 --- /dev/null +++ b/release-please/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "10.20.0" +} \ No newline at end of file diff --git a/release-please/release-please-config.json b/release-please/release-please-config.json new file mode 100644 index 0000000000..ea3868223a --- /dev/null +++ b/release-please/release-please-config.json @@ -0,0 +1,36 @@ +{ + "packages": { + ".": { + "changelog-path": "src/Agent/CHANGELOG.md", + "release-type": "go", + "bump-minor-pre-major": false, + "bump-patch-for-minor-pre-major": false, + "draft": false, + "prerelease": false, + "changelog-sections": [ + { + "type": "notice", + "section": "Notice", + "hidden": false + }, + { + "type": "feat", + "section": "New features", + "hidden": false + }, + { + "type": "fix", + "section": "Fixes", + "hidden": false + }, + { + "type": "security", + "section": "Security", + "hidden": false + } + ] + } + }, + "plugins": ["sentence-case"], + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +} \ No newline at end of file