Route trusted Linux builds to managed runners #1
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: CI | ||
| # Fork PRs use GitHub-hosted runners. Same-repository PRs call the | ||
| # main-branch workflow, whose Linux jobs can use the managed public fleet. | ||
| on: | ||
| pull_request: | ||
| pull_request_target: | ||
| permissions: read-all | ||
| jobs: | ||
| run: | ||
| if: >- | ||
| (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) || | ||
| (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name == github.repository) | ||
| uses: kenn-io/agentsview/.github/workflows/ci.yml@main | ||
|
Check failure on line 18 in .github/workflows/ci-pr.yml
|
||
| with: | ||
| checkout_ref: refs/pull/${{ github.event.pull_request.number }}/merge | ||