mirror of
https://github.com/tailscale/tailscale.git
synced 2026-07-20 21:23:07 +08:00
.github: exclude forks from privileged job runs
Exclude forks from executing "privileged" GHA jobs on our self-hosted runners. Updates tailscale/corp#43401 Signed-off-by: Patrick O'Doherty <[email protected]>
This commit is contained in:
@@ -344,6 +344,9 @@ jobs:
|
||||
privileged:
|
||||
needs: gomod-cache
|
||||
runs-on: ubuntu-24.04
|
||||
# This job runs fork-PR code inside a --privileged container, so restrict it
|
||||
# to runs on the tailscale/tailscale repo and never on 3p PRs.
|
||||
if: github.repository == 'tailscale/tailscale'
|
||||
container:
|
||||
image: golang:latest
|
||||
options: --privileged
|
||||
|
||||
Reference in New Issue
Block a user