-
Notifications
You must be signed in to change notification settings - Fork 16
31 lines (27 loc) · 911 Bytes
/
Copy pathrelease-please.yml
File metadata and controls
31 lines (27 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Release Please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
if: github.repository == 'browserbase/sdk-python'
runs-on: ubuntu-latest
steps:
# App token in place of the RELEASE_PLEASE_TOKEN PAT (CB-19). App-created
# releases still trigger the publish workflow, unlike GITHUB_TOKEN ones.
- name: Mint bot token
id: bot-token
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2
with:
app-id: ${{ secrets.STLC_BOT_APP_ID }}
private-key: ${{ secrets.STLC_BOT_PRIVATE_KEY }}
owner: browserbase
repositories: sdk-python
- uses: googleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4.4.1
id: release
with:
token: ${{ steps.bot-token.outputs.token }}