Merge pull request #126 from jonathandreyer/bugfix/ci-partial-disable

CI: Disable some runs on forks (which are not able to access to secrets) (IDFGH-8152)
This commit is contained in:
david-cermak
2022-09-09 15:11:41 +02:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,8 @@ jobs:
docs_build:
name: Docs-Build-And-Upload
runs-on: ubuntu-latest
# Skip running on forks since it won't have access to secrets
if: github.repository == 'espressif/esp-protocols'
steps:
- name: Checkout esp-protocols

View File

@ -151,6 +151,8 @@ jobs:
runs-on:
- self-hosted
- ESP32-ETHERNET-KIT
# Skip running on forks since it won't have access to secrets
if: github.repository == 'espressif/esp-protocols'
container:
image: python:3.7-buster
options: --privileged # Privileged mode has access to serial ports