Skip to content

Commit f50efbe

Browse files
committed
feat: add release-please-standard workflow
1 parent dbb51ab commit f50efbe

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: release-please
3+
4+
permissions:
5+
contents: write
6+
pull-requests: write
7+
8+
on:
9+
workflow_call:
10+
inputs:
11+
gh_app_id:
12+
description: >-
13+
The ID of the GitHub App used to interact with GitHub (e.g., cloning,
14+
committing, pushing).
15+
required: false
16+
type: number
17+
default: 1817613
18+
19+
jobs:
20+
release-please:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: generate token from github app
24+
id: github_app
25+
uses: getsentry/action-github-app-token@v3
26+
with:
27+
app_id: ${{ inputs.gh_app_id }}
28+
private_key: ${{ secrets.DEVOPS_ROAST_BOT_GH_APP_PRIVATE_KEY }}
29+
30+
- name: run release-please action
31+
uses: googleapis/release-please-action@v4
32+
with:
33+
token: ${{ steps.github_app.outputs.token }}
34+
release-type: simple

0 commit comments

Comments
 (0)