Skip to content

Commit

Permalink
chore(ci): setup workflows to create releases and release PRs (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Aug 28, 2023
1 parent d8dc0b7 commit 56229d9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
@@ -1,4 +1,4 @@
name: Release
name: Create releases
on:
push:
branches:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/open-release-prs.yml
@@ -0,0 +1,21 @@
name: Open release PRs
on:
push:
branches:
- next

jobs:
release:
name: release
if: github.ref == 'refs/heads/next' && github.repository == 'anthropics/anthropic-sdk-typescript'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: stainless-api/trigger-release-please@v1
id: release
with:
repo: ${{ github.event.repository.full_name }}
stainless-api-key: ${{ secrets.STAINLESS_API_KEY }}
branch-with-changes: next

0 comments on commit 56229d9

Please sign in to comment.