Skip to content

Commit

Permalink
Mock audio in tests (#2226)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brainicism authored Sep 24, 2024
1 parent 6d02460 commit 41b36d6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/gci-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand All @@ -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 }}
Expand Down

0 comments on commit 41b36d6

Please sign in to comment.