Skip to content

Commit

Permalink
ci: add release-please configuration and workflow files (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugobloem authored Nov 23, 2024
1 parent a8edea0 commit dd370fc
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.RELEASE_PLEASE_PAT }}
# this assumes that you have created a personal access token
# (PAT) and configured it as a GitHub action secret named
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
# this is a built-in strategy in release-please, see "Action Inputs"
# for more options
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.8"
}
37 changes: 37 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"release-type": "python",
"packages": {
".": {
"release-type": "python",
"changelog-sections": [
{"section": "🚀 Features", "type": "feat", "hidden": false},
{"section": "🐛 Bugfixes", "type": "fix", "hidden": false},
{"section": "📝 Documentation", "type": "docs", "hidden": false},
{"section": "⬆️ Dependency updates", "type": "deps", "hidden": false},
{"section": "🔨 Code Refactoring", "type": "refactor", "hidden": false},
{"section": "🧪 Tests", "type": "test", "hidden": false},
{"section": "⏪️ Reverts", "type": "revert", "hidden": false},
{"section": "⚡️ Performance Improvements", "type": "perf", "hidden": false},
{"section": "🏗️ Maintenance", "type": "build", "hidden": false},
{"section": "🎨 Styles", "type": "style", "hidden": false},
{"section": "🔧 Miscellaneous Chores", "type": "chore", "hidden": false},
{"section": "👷 Continuous Integration", "type": "ci", "hidden": false}
]
}
},
"changelog-sections": [
{"section": "🚀 Features", "type": "feat", "hidden": false},
{"section": "🐛 Bugfixes", "type": "fix", "hidden": false},
{"section": "📝 Documentation", "type": "docs", "hidden": false},
{"section": "⬆️ Dependency updates", "type": "deps", "hidden": false},
{"section": "🔨 Code Refactoring", "type": "refactor", "hidden": false},
{"section": "🧪 Tests", "type": "test", "hidden": false},
{"section": "⏪️ Reverts", "type": "revert", "hidden": false},
{"section": "⚡️ Performance Improvements", "type": "perf", "hidden": false},
{"section": "🏗️ Maintenance", "type": "build", "hidden": false},
{"section": "🎨 Styles", "type": "style", "hidden": false},
{"section": "🔧 Miscellaneous Chores", "type": "chore", "hidden": false},
{"section": "👷 Continuous Integration", "type": "ci", "hidden": false}
]
}

0 comments on commit dd370fc

Please sign in to comment.