From fb3bcc8b185f0fca6da32fe4880064ae8a1fcc04 Mon Sep 17 00:00:00 2001 From: Stephen Wade Date: Thu, 18 Apr 2024 14:07:39 -0400 Subject: [PATCH] devops: fix issues with audio in macOS 14 on GitHub Actions (#30410) --- .github/workflows/tests_secondary.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.yml index 0ba6b9d848..05325d9a7d 100644 --- a/.github/workflows/tests_secondary.yml +++ b/.github/workflows/tests_secondary.yml @@ -65,6 +65,10 @@ jobs: env: PWTEST_BOT_NAME: "${{ matrix.browser }}-${{ matrix.os }}" steps: + # https://github.com/actions/runner-images/issues/9330 + - name: Allow microphone access to all apps (macOS 14) + if: ${{ matrix.os == 'macos-14' }} + run: sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR IGNORE INTO access VALUES ('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159,NULL,NULL,'UNUSED',1687786159);" - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: @@ -165,6 +169,10 @@ jobs: env: PWTEST_BOT_NAME: "${{ matrix.browser }}-headed-${{ matrix.os }}" steps: + # https://github.com/actions/runner-images/issues/9330 + - name: Allow microphone access to all apps (macOS 14) + if: ${{ matrix.os == 'macos-latest' }} + run: sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR IGNORE INTO access VALUES ('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159,NULL,NULL,'UNUSED',1687786159);" - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: