From 5b1b2cce75ec086c64fba94912aabe6a7f07ae23 Mon Sep 17 00:00:00 2001 From: Jonathan Dreyer Date: Fri, 26 Aug 2022 15:32:24 +0200 Subject: [PATCH] Disable specific runs.. .. which are not access to secrets --- .github/workflows/publish-docs-component.yml | 2 ++ .github/workflows/target-test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/publish-docs-component.yml b/.github/workflows/publish-docs-component.yml index 0eeda079c..1115aabf6 100644 --- a/.github/workflows/publish-docs-component.yml +++ b/.github/workflows/publish-docs-component.yml @@ -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 diff --git a/.github/workflows/target-test.yml b/.github/workflows/target-test.yml index 448add800..c8eeec471 100644 --- a/.github/workflows/target-test.yml +++ b/.github/workflows/target-test.yml @@ -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