fix: release script squash-merge compat and backmerge automation #36902
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: CI | |
| on: | |
| push: | |
| branches: [main, develop, release, yeet, private, beard, juice, gome, neo, arkeo, jib] | |
| pull_request: | |
| branches: [main, develop, release, yeet, private] | |
| jobs: | |
| install-and-cache: | |
| name: Install and Cache | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| run: corepack enable && corepack prepare [email protected] --activate | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'pnpm' | |
| - name: Cache node_modules | |
| uses: actions/cache@v4 | |
| with: | |
| path: node_modules | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| restore-keys: ${{ runner.os }}-node-modules- | |
| - name: Install Dependencies | |
| run: pnpm install --frozen-lockfile | |
| call-pr-workflow: | |
| name: Call | |
| uses: ./.github/workflows/pr.yml | |
| needs: [install-and-cache] | |
| call-cloudflare-workflow: | |
| name: Call | |
| uses: ./.github/workflows/cloudflare.yml | |
| secrets: inherit # pass org/repo secrets to the called workflow | |
| needs: [install-and-cache] |