File: release-please.yml

package info (click to toggle)
hcloud-cli 1.39.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,628 kB
  • sloc: sh: 36; makefile: 7
file content (18 lines) | stat: -rw-r--r-- 437 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: Release-please

on:
  push:
    branches: [main]

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

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