Skip to content

Commit

Permalink
ci: Add basic GitHub actions configuration for release
Browse files Browse the repository at this point in the history
  • Loading branch information
thessem committed Aug 22, 2024
1 parent 1455806 commit f7c8eb6
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"bootstrap-sha": "1455806e09aae5319ce8072477d4d2a4e5865730",
"pull-request-header": "",
"pull-request-footer": "",
"changelog-sections": [
{ "type": "feat", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "perf", "section": "Performance Improvements" },
{ "type": "revert", "section": "Reverts" },
{ "type": "docs", "section": "Documentation", "hidden": true },
{ "type": "style", "section": "Styles", "hidden": true },
{ "type": "chore", "section": "Miscellaneous Chores", "hidden": true },
{ "type": "refactor", "section": "Code Refactoring", "hidden": true },
{ "type": "test", "section": "Tests", "hidden": true },
{ "type": "build", "section": "Build System", "hidden": true },
{ "type": "ci", "section": "Continuous Integration", "hidden": true }
]
}
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release

on:
push:
branches:
- github-actions/main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
release-type: go
token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }}
target-branch: ${{ github.ref_name }}
config-file: .github/workflows/release-please-config.json

0 comments on commit f7c8eb6

Please sign in to comment.