Skip to content

Commit 4258799

Browse files
committed
wip: add release-please workflow
1 parent 03a6842 commit 4258799

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: release-please
3+
4+
on:
5+
push:
6+
# branches:
7+
# - master
8+
9+
jobs:
10+
release-please:
11+
runs-on: ubuntu-latest
12+
outputs:
13+
paths_released: ${{ steps.release.outputs.paths_released }}
14+
releases_info: ${{ toJSON(steps.release.outputs) }}
15+
steps:
16+
- uses: google-github-actions/release-please-action@v3
17+
id: release
18+
with:
19+
release-type: go
20+
# to trigger GitHub workflows, requires a PAT
21+
#token: ${{ secrets.GITHUB_TOKEN }}
22+
# changelog-notes-type: github
23+
# prerelease: true
24+
include-v-in-tag: true
25+
# Only check the last 50 commits to avoid rate limiting
26+
commit-search-depth: 50
27+
28+
- run: echo $JSON
29+
name: Release Please Output Info
30+
env:
31+
JSON: ${{ toJSON(steps.release.outputs) }}

0 commit comments

Comments
 (0)