docs(protocol): preconfirmation v2 design (slot-chain & per-slot builder rotation) #26618
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: Typo Check | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-for-typos: | |
| if: >- | |
| contains(github.event.pull_request.labels.*.name, 'option.workflow_on') | |
| || (github.event.pull_request.draft == false | |
| && github.head_ref != 'release-please-*' | |
| && !startsWith(github.head_ref, 'dependabot')) | |
| # SECURITY: route fork PRs to a hosted runner so PR-controlled code never | |
| # executes on arc-runner-set. The typo check itself (crate-ci/typos, pinned) | |
| # is safe to run against fork contents on ubuntu-latest. | |
| runs-on: >- | |
| ${{ | |
| (github.event.pull_request.head.repo.fork == true) | |
| && 'ubuntu-latest' || 'arc-runner-set' | |
| }} | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Install wget | |
| run: sudo apt-get update && sudo apt-get install -y wget | |
| - name: Check for typos | |
| # SECURITY: avoid @master. Pin to a released tag and follow up | |
| # with a full commit SHA via Dependabot/Renovate. | |
| uses: crate-ci/typos@v1 | |
| with: | |
| config: ${{github.workspace}}/_typos.toml |