From 4e40d253d11be9bef3db017e669edaa0c1357572 Mon Sep 17 00:00:00 2001 From: Joe Lencioni Date: Mon, 11 Jan 2021 09:41:56 -0600 Subject: [PATCH] fix: skip update NodeJS versions action on forks (#2396) --- .github/workflows/update-nodejs-versions.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update-nodejs-versions.yml b/.github/workflows/update-nodejs-versions.yml index cd432ef1c5..2d7d951a62 100644 --- a/.github/workflows/update-nodejs-versions.yml +++ b/.github/workflows/update-nodejs-versions.yml @@ -9,6 +9,9 @@ jobs: updateNodejsVersions: runs-on: ubuntu-latest + # Skip this on forks + if: github.repository == 'bazelbuild/rules_nodejs' + steps: - name: Git Checkout uses: actions/checkout@v2