Prevent self hosted jobs to run on forks. (#5983)

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-12-14 13:26:59 +01:00 committed by GitHub
parent cebac569de
commit 3750b14d74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ jobs:
build: build:
name: Dummy test - self hosted GHR name: Dummy test - self hosted GHR
runs-on: self-hosted runs-on: self-hosted
if: github.repository == 'espressif/arduino-esp32'
steps: steps:
- name: Check out repo - name: Check out repo
uses: actions/checkout@v2 uses: actions/checkout@v2