forked from espressif/esp-protocols
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:
2
.github/workflows/publish-docs-component.yml
vendored
2
.github/workflows/publish-docs-component.yml
vendored
@ -9,6 +9,8 @@ jobs:
|
|||||||
docs_build:
|
docs_build:
|
||||||
name: Docs-Build-And-Upload
|
name: Docs-Build-And-Upload
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# Skip running on forks since it won't have access to secrets
|
||||||
|
if: github.repository == 'espressif/esp-protocols'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout esp-protocols
|
- name: Checkout esp-protocols
|
||||||
|
2
.github/workflows/target-test.yml
vendored
2
.github/workflows/target-test.yml
vendored
@ -151,6 +151,8 @@ jobs:
|
|||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
- ESP32-ETHERNET-KIT
|
- ESP32-ETHERNET-KIT
|
||||||
|
# Skip running on forks since it won't have access to secrets
|
||||||
|
if: github.repository == 'espressif/esp-protocols'
|
||||||
container:
|
container:
|
||||||
image: python:3.7-buster
|
image: python:3.7-buster
|
||||||
options: --privileged # Privileged mode has access to serial ports
|
options: --privileged # Privileged mode has access to serial ports
|
||||||
|
Reference in New Issue
Block a user