Skip to content

Commit 6680988

Browse files
stainless-botrattrayalex
authored andcommitted
chore(ci): setup workflows to create releases and release PRs (#77)
1 parent ad8b5f3 commit 6680988

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/release.yml renamed to .github/workflows/create-releases.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release
1+
name: Create releases
22
on:
33
push:
44
branches:
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Open release PRs
2+
on:
3+
push:
4+
branches:
5+
- next
6+
7+
jobs:
8+
release:
9+
name: release
10+
if: github.ref == 'refs/heads/next' && github.repository == 'Finch-API/finch-api-python'
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- uses: stainless-api/trigger-release-please@v1
17+
id: release
18+
with:
19+
repo: ${{ github.event.repository.full_name }}
20+
stainless-api-key: ${{ secrets.STAINLESS_API_KEY }}
21+
branch-with-changes: next

0 commit comments

Comments
 (0)