Skip to content

Commit

Permalink
ci: Add release-please GitHub Action (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelOnFira committed May 25, 2024
1 parent 43fe05d commit 16acad9
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: release-please

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: release-please-config.json
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.0.0"
}
69 changes: 69 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"packages": {
".": {
"release-type": "simple"
}
},
"changelog-sections": [
{
"type": "feat",
"hidden": false,
"section": "Features"
},
{
"type": "fix",
"hidden": false,
"section": "Bug Fixes"
},
{
"type": "perf",
"hidden": false,
"section": "Performance Improvements"
},
{
"type": "revert",
"hidden": false,
"section": "Reverts"
},
{
"type": "docs",
"hidden": false,
"section": "Documentation"
},
{
"type": "style",
"hidden": false,
"section": "Styles"
},
{
"type": "refactor",
"hidden": false,
"section": "Code Refactoring"
},
{
"type": "test",
"hidden": false,
"section": "Tests"
},
{
"type": "build",
"hidden": false,
"section": "Build System"
},
{
"type": "ci",
"hidden": false,
"section": "Continuous Integration"
},
{
"type": "chore",
"hidden": false,
"section": "Chores"
},
{
"type": "other",
"hidden": false,
"section": "Others"
}
]
}

0 comments on commit 16acad9

Please sign in to comment.