-
Notifications
You must be signed in to change notification settings - Fork 112
32 lines (30 loc) · 1.04 KB
/
release-please.yaml
File metadata and controls
32 lines (30 loc) · 1.04 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
# When a third-party action is added (i.e., `uses`), please also add it to `download-licenses` in Makefile.
on:
push:
branches:
- main
name: release-please
permissions:
contents: write # Required for trigger-release-automation job
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
timeout-minutes: 2
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
id: release
trigger-release-automation:
name: Trigger release-automation.yaml if PR is merged
needs: [release-please]
if: ${{ needs.release-please.outputs.release_created == 'true' }}
permissions:
contents: write # Required for uploading release assets
id-token: write # Required for AWS OIDC authentication
secrets: inherit # Pass all secrets to child workflows
uses: ./.github/workflows/release-automation.yaml