Repository navigation
Verify accepted updates remain recoverable through published HTTP #941
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: Public Boundary | |
| on: | |
| pull_request: | |
| push: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| scan: | |
| name: Scan public boundary | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Scan files and commit metadata | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| if [[ "${{ github.event_name }}" == "pull_request" ]]; then | |
| range="${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}" | |
| elif [[ "${{ github.event.before }}" =~ ^0+$ ]]; then | |
| range="${{ github.sha }}^..${{ github.sha }}" | |
| else | |
| range="${{ github.event.before }}..${{ github.sha }}" | |
| fi | |
| PUBLIC_BOUNDARY_GIT_RANGE="$range" scripts/check-public-boundary.sh |