deployment: add proof archive bucket name to env gateway overlays #136606
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: Main-CI-PR-Flow | |
| on: | |
| merge_group: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - edited | |
| - synchronize | |
| env: | |
| RUSTFLAGS: "-D warnings" | |
| # On PR events, cancel existing CI runs on this same PR for this workflow. | |
| # Also, create different concurrency groups for different pushed commits, on push events. | |
| concurrency: | |
| group: > | |
| ${{ github.workflow }}- | |
| ${{ github.ref }}- | |
| ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| commitlint: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install commitlint | |
| run: npm install --global @commitlint/cli @commitlint/config-conventional | |
| - name: Validate PR title with commitlint | |
| if: github.event_name != 'merge_group' && github.event_name != 'push' && !(contains(github.event.pull_request.title, 'merge-main') || contains(github.event.pull_request.title, 'merge main')) | |
| env: | |
| TITLE: ${{ github.event.pull_request.title }} | |
| run: echo "$TITLE" | commitlint --verbose | |
| # This job is used to check if all checks have passed before merging the PR. | |
| # Uses starkware-libs/merge-gatekeeper as the implementation. | |
| merge-gatekeeper-new: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 75 | |
| permissions: | |
| actions: read | |
| checks: read | |
| statuses: read | |
| steps: | |
| - name: Run merge-gatekeeper-new on pull request | |
| if: github.event_name == 'pull_request' | |
| uses: starkware-libs/merge-gatekeeper@v1 | |
| with: | |
| self: merge-gatekeeper-new | |
| timeout: 3600 | |
| interval: 30 | |
| ignored: "code-review/reviewable,build_docker_images,merge-gatekeeper" | |
| - name: Run merge-gatekeeper-new on Merge Queue || push | |
| if: github.event_name == 'merge_group' || github.event_name == 'push' | |
| uses: starkware-libs/merge-gatekeeper@v1 | |
| with: | |
| self: merge-gatekeeper-new | |
| ref: ${{github.ref}} | |
| timeout: 1800 | |
| interval: 30 | |
| ignored: "code-review/reviewable,merge-gatekeeper" | |
| merge-gatekeeper: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 75 | |
| # Restrict permissions of the GITHUB_TOKEN. | |
| # Docs: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs | |
| permissions: | |
| checks: read | |
| statuses: read | |
| steps: | |
| - name: Run Merge Gatekeeper on pull request | |
| if: github.event_name == 'pull_request' | |
| uses: upsidr/merge-gatekeeper@v1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| timeout: 3600 | |
| interval: 30 | |
| ignored: "code-review/reviewable,build_docker_images,merge-gatekeeper-new" | |
| - name: Run Merge Gatekeeper on Merge Queue || push | |
| if: github.event_name == 'merge_group' || github.event_name == 'push' | |
| uses: upsidr/merge-gatekeeper@v1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| ref: ${{github.ref}} | |
| timeout: 1800 | |
| interval: 30 | |
| ignored: "code-review/reviewable,merge-gatekeeper-new" |