Skip to content

Commit

Permalink
add release please to the provider
Browse files Browse the repository at this point in the history
  • Loading branch information
nickybondarenko committed Sep 7, 2023
1 parent 1071027 commit 57b6242
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Run 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@v3
id: release
with:
release-type: go
token: ${{secrets.GITHUB_TOKEN}}
default-branch: main
outputs:
release_created: ${{ steps.release.outputs.release_created }}
release_tag_name: ${{ steps.release.outputs.tag_name }}

go-release:
needs: release-please
runs-on: ubuntu-latest
if: ${{ needs.release-please.outputs.release_created }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ needs.release-please.outputs.release_tag_name }}

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.DEFAULT_GO_VERSION }}
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "pkg/provider": "0.1.0" }
66 changes: 66 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"bootstrap-sha": "1071027081acd49a38f352ee650bdb85cfa30132",
"packages": {
".": {
"release-type": "go",
"prerelease": false,
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"extra-files": ["README.md"],
"changelog-sections": [
{
"type": "fix",
"section": "πŸ› Bug Fixes"
},
{
"type": "feat",
"section": "✨ New Features"
},
{
"type": "chore",
"section": "🧹 Chore"
},
{
"type": "docs",
"section": "πŸ“š Documentation"
},
{
"type": "perf",
"section": "πŸš€ Performance"
},
{
"type": "build",
"hidden": true,
"section": "πŸ› οΈ Build"
},
{
"type": "deps",
"section": "πŸ“¦ Dependencies"
},
{
"type": "ci",
"hidden": true,
"section": "🚦 CI"
},
{
"type": "refactor",
"section": "πŸ”„ Refactoring"
},
{
"type": "revert",
"section": "πŸ”™ Reverts"
},
{
"type": "style",
"hidden": true,
"section": "🎨 Styling"
},
{
"type": "test",
"hidden": true,
"section": "πŸ§ͺ Tests"
}
]
}
}
}

0 comments on commit 57b6242

Please sign in to comment.