Repository navigation
Run PHP 8.4 and 8.5 checks in pinned official containers #1619
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: | |
| permissions: | |
| contents: read | |
| jobs: | |
| scan: | |
| name: Scan public boundary | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| 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 |