Skip to content

Commit b6af95d

Browse files
chore(ci): Address GitHub workaround for CVE-2022-24765.
- apply additional work around stated in actions/checkout#766
1 parent 3abefb4 commit b6af95d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
echo "SOURCE_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
2222
echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
2323
- name: Build docs website
24-
run: make build-docs-website
24+
run: |
25+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
26+
make build-docs-website
2527
- name: Deploy all docs
2628
uses: peaceiris/actions-gh-pages@v3
2729
with:

0 commit comments

Comments
 (0)