Skip to content

Commit e4df5dd

Browse files
authored
[github] set puppeteer executable path for linkspector (openthread#13181)
This commit updates the `markdown-lint-check` job to explicitly set the `PUPPETEER_EXECUTABLE_PATH` environment variable to use the system-installed Google Chrome (`/usr/bin/google-chrome`) for the `linkspector` action. This resolves issues where the action fails to find a browser environment to execute properly.
1 parent fa3213e commit e4df5dd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,11 @@ jobs:
7878
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
7979

8080
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
81+
8182
- name: Run linkspector
8283
uses: umbrelladocs/action-linkspector@963b6264d7de32c904942a70b488d3407453049e # v1.5.1
84+
env:
85+
PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome
8386
with:
8487
github_token: ${{ secrets.GITHUB_TOKEN }}
8588
reporter: github-pr-review

0 commit comments

Comments
 (0)