# This file was automatically generated by github-actions-wac. # DO NOT MODIFY IT BY HAND. Instead, modify the source *.wac.ts file(s) # and run "github-actions-wac build" (or "ghawac build") to regenerate this file. # For more information, run "github-actions-wac --help". name: Push - Release Branch 'on': push: branches: - release/* workflow_dispatch: {} concurrency: group: push-release-branch-${{ github.ref }} cancel-in-progress: true jobs: assignMilestone: name: Assign milestone to PRs that reached the branch if: startsWith(github.ref_name, 'release/') permissions: contents: read actions: none issues: write pull-requests: write env: NODE_OPTIONS: '--max_old_space_size=4096' YARN_ENABLE_IMMUTABLE_INSTALLS: false GH_TOKEN: ${{ github.token }} REPO: ${{ github.repository }} BRANCH: ${{ github.ref_name }} steps: - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 with: node-version: 24 - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 with: fetch-depth: 0 filter: blob:none - name: Assign milestone run: >- export VERSION="${BRANCH#release/}" node .github/workflows/wac/utils/runNodeScripts/assignReleaseMilestone.js '' runs-on: ubuntu-latest regenDocsReleaseNotes: name: Regenerate release notes (docs.webiny.com) needs: assignMilestone env: NODE_OPTIONS: '--max_old_space_size=4096' YARN_ENABLE_IMMUTABLE_INSTALLS: false GH_TOKEN: ${{ secrets.GH_TOKEN }} steps: - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 with: node-version: 24 - name: Check for open docs PR and trigger release notes regeneration run: >- VERSION=$(echo "${{ github.ref_name }}" | sed 's|release/||') PR_NUMBER=$(gh pr list --repo webiny/docs.webiny.com --state open --search "Release $VERSION" --json number --jq '.[0].number') if [ -n "$PR_NUMBER" ]; then echo "Found docs PR #$PR_NUMBER for Release $VERSION — triggering release notes regeneration." gh workflow run regenerate-release-notes.yml --repo webiny/docs.webiny.com -f version=$VERSION else echo "No open docs PR found for Release $VERSION — skipping." fi runs-on: ubuntu-latest permissions: contents: read actions: write