-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (34 loc) · 1.1 KB
/
Copy pathrelease-please.yml
File metadata and controls
39 lines (34 loc) · 1.1 KB
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
32
33
34
35
36
37
38
39
# Required release app settings:
# - vars.MEIGMA_RELEASE_APP_CLIENT_ID
# - secrets.MEIGMA_RELEASE_APP_PRIVATE_KEY
# - protected-tag ruleset bypass for the release app, if protected v* tags are enabled.
name: Release Please
on:
push:
branches:
- master
workflow_dispatch:
permissions: {}
jobs:
release-please:
name: Release Please
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: write
pull-requests: write
issues: write
steps:
- name: Create release app token
id: release-app
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ vars.MEIGMA_RELEASE_APP_CLIENT_ID }}
private-key: ${{ secrets.MEIGMA_RELEASE_APP_PRIVATE_KEY }}
- name: Run Release Please
id: release
uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
with:
token: ${{ steps.release-app.outputs.token }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json