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 authored and GitHub committed 2022-09-09 15:11:41 +02:00
commit 85be67e708
2 files changed
+4

No files matched your search

@@ -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
+2
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