Skip to content

Commit

Permalink
ci(release): moved configuration to the correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
H4ad committed Dec 22, 2023
1 parent 8660e21 commit b8c6156
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 15 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,6 @@ jobs:
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN_GITHUB }}
release-type: node
changelog-types: >
[
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "docs", "section": "Documentation", "hidden": false },
{ "type": "build", "section": "Build Related", "hidden": false },
{ "type": "chore", "section": "Chores", "hidden": false },
{ "type": "perf", "section": "Performance Improvements", "hidden": false },
{ "type": "ci", "section": "CI", "hidden": false },
{ "type": "refactor", "section": "Refactoring", "hidden": false },
{ "type": "test", "section": "Tests", "hidden": false }
]

- name: Checkout Code
if: ${{ steps.release.outputs.release_created }}
Expand Down
52 changes: 50 additions & 2 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,56 @@
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
"prerelease": false,
"draft-pull-request": true,
"changelog-sections": [
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
},
{
"type": "docs",
"section": "Documentation",
"hidden": false
},
{
"type": "build",
"section": "Build Related",
"hidden": false
},
{
"type": "chore",
"section": "Chores",
"hidden": false
},
{
"type": "perf",
"section": "Performance Improvements",
"hidden": false
},
{
"type": "ci",
"section": "CI",
"hidden": false
},
{
"type": "refactor",
"section": "Refactoring",
"hidden": false
},
{
"type": "test",
"section": "Tests",
"hidden": false
}
]
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
}

0 comments on commit b8c6156

Please sign in to comment.