diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9b66f98..188f870 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,10 +5,6 @@ updates: include: scope prefix: ci directory: / - ignore: - # Staying on v3 due to incomplete migration guide for v4 - - dependency-name: google-github-actions/release-please-action - update-types: ["version-update:semver-major"] open-pull-requests-limit: 20 schedule: interval: monthly diff --git a/.github/release-please/config.json b/.github/release-please/config.json new file mode 100644 index 0000000..5af9de6 --- /dev/null +++ b/.github/release-please/config.json @@ -0,0 +1,18 @@ +{ + "release-type": "node", + "prerelease": false, + "include-component-in-tag": false, + "changelog-sections": [ + { "section": "Bug fixes", "type": "fix", "hidden": false }, + { "section": "Continuous integration", "type": "ci", "hidden": false }, + { "section": "Dependencies", "type": "build", "hidden": false }, + { "section": "Documentation", "type": "docs", "hidden": false }, + { "section": "Features", "type": "feat", "hidden": false }, + { "section": "Improvements", "type": "perf", "hidden": false }, + { "section": "Improvements", "type": "refactor", "hidden": false }, + { "section": "Miscellaneous", "type": "chore", "hidden": false }, + { "section": "Miscellaneous", "type": "style", "hidden": false }, + { "section": "Tests", "type": "test", "hidden": false } + ], + "packages": { ".": {} } +} diff --git a/.github/release-please/manifest.json b/.github/release-please/manifest.json new file mode 100644 index 0000000..754a3e9 --- /dev/null +++ b/.github/release-please/manifest.json @@ -0,0 +1 @@ +{".":"4.0.0"} \ No newline at end of file diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b3b96e4..a2fabd7 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -22,24 +22,10 @@ jobs: steps: - name: Release Please id: release - # Staying on v3 due to incomplete migration guide for v4 - uses: google-github-actions/release-please-action@v3 + uses: googleapis/release-please-action@v4 with: - changelog-types: > - [ - { "section": "Bug fixes", "type": "fix", "hidden": false }, - { "section": "Continuous integration", "type": "ci", "hidden": false }, - { "section": "Dependencies", "type": "build", "hidden": false }, - { "section": "Documentation", "type": "docs", "hidden": false }, - { "section": "Features", "type": "feat", "hidden": false }, - { "section": "Improvements", "type": "perf", "hidden": false }, - { "section": "Improvements", "type": "refactor", "hidden": false }, - { "section": "Miscellaneous", "type": "chore", "hidden": false }, - { "section": "Miscellaneous", "type": "style", "hidden": false }, - { "section": "Tests", "type": "test", "hidden": false } - ] - release-type: node - package-name: fastify-disablecache + config-file: .github/release-please/config.json + manifest-file: .github/release-please/manifest.json publish-npm: name: Publish to NPM diff --git a/.prettierignore b/.prettierignore index 1baf8a2..e81df3b 100644 --- a/.prettierignore +++ b/.prettierignore @@ -138,6 +138,7 @@ dist # Auto generated files package.json CHANGELOG.md +.github/release-please/manifest.json # lock files bun.lockb