From 41b36d66136868b4b060b8c7e7ee9fc4a5517f07 Mon Sep 17 00:00:00 2001 From: Brian Le Date: Tue, 24 Sep 2024 01:03:12 -0700 Subject: [PATCH] Mock audio in tests (#2226) --- .github/workflows/gci-e2e.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gci-e2e.yml b/.github/workflows/gci-e2e.yml index 56c9408f3..ffb1b381c 100644 --- a/.github/workflows/gci-e2e.yml +++ b/.github/workflows/gci-e2e.yml @@ -91,7 +91,7 @@ jobs: tags: ghcr.io/brainicism/kmq_discord:gci - name: Determine if MOCK_AUDIO should be set id: check_labels - if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' + # if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' run: | # Extract the labels from the PR LABELS="$(gh api repos/$OWNER/$REPO_NAME/pulls/$PULL_REQUEST_NUMBER --jq '.labels.[].name')" @@ -102,6 +102,10 @@ jobs: else echo "MOCK_AUDIO=false" >> $GITHUB_ENV fi + + # temporarily (?) mock audio until we have a longer term solution + echo "MOCK_AUDIO=true" >> $GITHUB_ENV + env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} OWNER: ${{ github.repository_owner }}