Auto Create Release PR #22458
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Auto Create Release PR | |
| # When Runway creates release/X.Y.Z, this workflow calls create-release-pr.yml. | |
| # Semver convention for mobile hotfixes: | |
| # - X.Y.0 — regular release (no OTA_VERSION bump) | |
| # - X.Y.Z with a single-digit patch (e.g. 7.71.1, 7.71.2) — regular hotfix (no OTA_VERSION bump) | |
| # - X.Y.AB with a two-digit patch (e.g. 7.73.01, 7.73.21) — OTA hotfix; OTA_VERSION is v7.73.01. | |
| # Two-digit patch AB → base patch A, OTA iteration B. | |
| # CHANGELOG.md uses the SemVer prerelease format (e.g. 7.73.0-ota.1) permanently | |
| # because auto-changelog validates all version headers as strict SemVer. | |
| 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 }} |