diff --git a/.github/workflows/browsers-full.yaml b/.github/workflows/browsers-full.yaml index f9a1fd7f0..da2089d2b 100644 --- a/.github/workflows/browsers-full.yaml +++ b/.github/workflows/browsers-full.yaml @@ -13,7 +13,7 @@ on: jobs: run: name: BrowserStack - if: github.repository == "qunitjs/qunit" # skip on forks + if: ${{ github.repository == "qunitjs/qunit" }} # skip on forks, needs secret runs-on: ubuntu-latest env: PUPPETEER_DOWNLOAD_PATH: ~/.puppeteer_download diff --git a/.github/workflows/browsers-quick.yaml b/.github/workflows/browsers-quick.yaml index f3ae959e3..a48e65faf 100644 --- a/.github/workflows/browsers-quick.yaml +++ b/.github/workflows/browsers-quick.yaml @@ -5,7 +5,7 @@ on: jobs: run: name: BrowserStack - if: github.repository == "qunitjs/qunit" # skip on forks + if: ${{ github.repository == "qunitjs/qunit" }} # skip on forks, needs secret runs-on: ubuntu-latest env: PUPPETEER_DOWNLOAD_PATH: ~/.puppeteer_download diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 413d75bea..a2bdb3051 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -5,6 +5,7 @@ on: jobs: run: name: Code coverage + if: ${{ github.repository == "qunitjs/qunit" }} # skip on forks, needs secret runs-on: ubuntu-20.04 env: PUPPETEER_DOWNLOAD_PATH: ~/.puppeteer_download diff --git a/.github/workflows/doc-search.yaml b/.github/workflows/doc-search.yaml index c633c6e61..fb1e3847a 100644 --- a/.github/workflows/doc-search.yaml +++ b/.github/workflows/doc-search.yaml @@ -7,7 +7,7 @@ on: jobs: run: name: Update search index - if: github.repository == "qunitjs/qunit" # skip on forks + if: ${{ github.repository == "qunitjs/qunit" }} # skip on forks, needs secret runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/spider-check.yaml b/.github/workflows/spider-check.yaml index a6c1c1c78..a3ed10b12 100644 --- a/.github/workflows/spider-check.yaml +++ b/.github/workflows/spider-check.yaml @@ -18,7 +18,7 @@ jobs: # Includes Python 3 # https://github.com/actions/virtual-environments/blob/ubuntu20/20210318.0/images/linux/Ubuntu2004-README.md runs-on: ubuntu-latest - if: github.repository == "qunitjs/qunit" # skip on forks + if: ${{ github.repository == "qunitjs/qunit" }} # skip on forks, noisy cron and likely stale main branch steps: - uses: actions/checkout@v2 with: