From 3750b14d74e33379090b77c6e34417790df25527 Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Tue, 14 Dec 2021 13:26:59 +0100 Subject: [PATCH] Prevent self hosted jobs to run on forks. (#5983) Signed-off-by: Abdelatif Guettouche --- .github/workflows/test_selfhosted_runner.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test_selfhosted_runner.yml b/.github/workflows/test_selfhosted_runner.yml index e7be6a6c..ddac78ab 100644 --- a/.github/workflows/test_selfhosted_runner.yml +++ b/.github/workflows/test_selfhosted_runner.yml @@ -10,6 +10,7 @@ jobs: build: name: Dummy test - self hosted GHR runs-on: self-hosted + if: github.repository == 'espressif/arduino-esp32' steps: - name: Check out repo uses: actions/checkout@v2