Skip to content

Commit f426c94

Browse files
Create release-bot.yml
1 parent 1fab7cc commit f426c94

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/release-bot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release Bot
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, closed]
6+
7+
release:
8+
types: [released, prereleased]
9+
10+
jobs:
11+
run:
12+
if: startsWith(github.head_ref, 'releases/') || github.event_name == 'release'
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: statsig-io/statsig-publish-sdk-action@main
16+
with:
17+
gh-token: ${{ secrets.KONG_FINE_GRAINED_REPO_PAT }}
18+
pypi-token: ${{ secrets.PYPI_DRAFT_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)