diff --git a/.github/workflows/w3c-publish.yml b/.github/workflows/w3c-publish.yml index 4275c4a1bd..4c29a29154 100644 --- a/.github/workflows/w3c-publish.yml +++ b/.github/workflows/w3c-publish.yml @@ -44,14 +44,14 @@ jobs: - name: Setup Sphinx run: pip install six && pip install sphinx==5.1.0 - name: Publish all specs to their https://www.w3.org/TR/ URLs - if: github.repository == 'WebAssembly/spec' + if: env.W3C_ECHIDNA_TOKEN_CORE run: cd document && make -e WD-echidna-CI env: W3C_STATUS: ${{ github.event_name == 'workflow_dispatch' && inputs.w3c-status || 'WD' }} W3C_ECHIDNA_TOKEN_CORE: ${{ secrets.W3C_ECHIDNA_TOKEN_CORE }} W3C_ECHIDNA_TOKEN_JSAPI: ${{ secrets.W3C_ECHIDNA_TOKEN_JSAPI }} W3C_ECHIDNA_TOKEN_WEBAPI: ${{ secrets.W3C_ECHIDNA_TOKEN_WEBAPI }} - ECHIDNA_DRYRUN: ${{ github.event_name == 'pull_request'}} + ECHIDNA_DRYRUN: ${{ github.event_name == 'pull_request' && github.repository == 'WebAssembly/spec'}} YARN_ENABLE_IMMUTABLE_INSTALLS: false - name: Validate all specs with Echidna if: env.W3C_USERNAME