From 947f82ae926112f7890daa070779083518932962 Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Tue, 7 Dec 2021 00:08:18 +0100 Subject: [PATCH] Prevent self hosted jobs to run on forks. 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 e7be6a6c4ff..ddac78abbc3 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