Install test: a pull request from a fork stays on GitHub's runner
Only our own branches, quattro and manual runs go to Namespace.
This commit is contained in:
1 parent
f0216cf0c0
commit
4f7d4a9db3
1 file changed
+5
-3
@@ -21,9 +21,11 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
install:
|
install:
|
||||||
# No cache volume here on purpose: this runs for pull requests, and what
|
# Our own branches run on Namespace. A pull request from a fork stays on
|
||||||
# one of them leaves in a cache the next run would trust.
|
# GitHub's runner: it is somebody else's code, and it has no business on
|
||||||
runs-on: namespace-profile-linux-amd64-16x32
|
# our account's machines. No cache volume either way: what one pull
|
||||||
|
# request leaves in a cache the next run would trust.
|
||||||
|
runs-on: ${{ github.event.pull_request.head.repo.fork && 'ubuntu-24.04' || 'namespace-profile-linux-amd64-16x32' }}
|
||||||
timeout-minutes: 75
|
timeout-minutes: 75
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
||||||
|
|||||||
Reference in new issue
Block a user