-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
37 lines (32 loc) · 882 Bytes
/
auto-create-release-pr.yml
File metadata and controls
37 lines (32 loc) · 882 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
32
33
34
35
36
37
name: Auto Create Release PR
on:
create:
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
extract:
if: ${{ github.ref_type == 'branch' && startsWith(github.ref, 'refs/heads/release/') }}
runs-on: ubuntu-latest
outputs:
semver: ${{ steps.out.outputs.semver }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- id: out
shell: bash
run: |
.github/scripts/extract-semver.sh
call-create-release-pr:
needs: extract
permissions:
contents: write
pull-requests: write
id-token: write
uses: ./.github/workflows/create-release-pr.yml
secrets:
github-token: ${{ secrets.PR_TOKEN }}
google-application-creds-base64: ${{ secrets.GCP_RLS_SHEET_ACCOUNT_BASE64 }}
with:
semver-version: ${{ needs.extract.outputs.semver }}