From 35bfe91af3f35a22f251d29e597477134dad7e44 Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Thu, 3 Oct 2024 14:56:47 -0700 Subject: [PATCH] try conditioning on secrects --- .github/workflows/w3c-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/w3c-publish.yml b/.github/workflows/w3c-publish.yml index 4258d55e7..1244b3b04 100644 --- a/.github/workflows/w3c-publish.yml +++ b/.github/workflows/w3c-publish.yml @@ -44,7 +44,7 @@ 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: secrets.W3C_ECHIDNA_TOKEN_CORE run: cd document && make -e WD-echidna-CI env: W3C_STATUS: ${{ github.event_name == 'workflow_dispatch' && inputs.w3c-status || 'WD' }} @@ -54,7 +54,7 @@ jobs: ECHIDNA_DRYRUN: ${{ github.event_name == 'pull_request'}} YARN_ENABLE_IMMUTABLE_INSTALLS: false - name: Validate all specs with Echidna - if: github.repository != 'WebAssembly/spec' + if: secrets.W3C_USERNAME run: cd document && make -e WD-echidna env: W3C_STATUS: ${{ github.event_name == 'workflow_dispatch' && inputs.w3c-status || 'WD' }}