Skip to content

Commit

Permalink
ci: setup release-please (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
apricote authored Jun 13, 2023
1 parent 9e6a22c commit 6b38b49
Show file tree
Hide file tree
Showing 4 changed files with 390 additions and 7 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
branches:
- main
name: release-please

jobs:
release-please:
# The secret HCLOUD_BOT_TOKEN is only available on the main repo, not in forks.
if: github.repository == 'hetznercloud/terraform-provider-hcloud'

runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
token: ${{ secrets.HCLOUD_BOT_TOKEN }}
release-type: go
package-name: terraform-provider-hcloud
Loading

0 comments on commit 6b38b49

Please sign in to comment.