summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-10-31 22:50:53 +0000
committerGitHub <noreply@github.com>2020-10-31 22:50:53 +0000
commit7b33897b974222e9d36032f1630455bf542dee7e (patch)
tree031de31912c74f649290b5f5872db6fb25bdefcc
parentd705918f50b257cc12e13567fd22a64db1087705 (diff)
protect against those who develop with their fork on master (#10815)
-rw-r--r--.github/workflows/api.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml
index 2d09089b65..dfb1b58895 100644
--- a/.github/workflows/api.yml
+++ b/.github/workflows/api.yml
@@ -13,6 +13,9 @@ jobs:
runs-on: ubuntu-latest
container: qmkfm/base_container
+ # protect against those who develop with their fork on master
+ if: github.repository == 'qmk/qmk_firmware'
+
steps:
- uses: actions/checkout@v2
with: