Skip to content

Commit 29f4fb6

Browse files
committed
fix: Address GitHub workaround for CVE-2022-24765.
This commit: - updates GH Actions checkout to v3 - apply additional work around stated in actions/checkout#766 This fixes the problem with the following error message: ``` fatal: unsafe repository ('/github/workspace' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /github/workspace ``` The problem is due to the security fix from the Git security vulnerability recently announced: https://github.blog/2022-04-12-git-security-vulnerability-announced/. Relevant GH issue: actions/checkout#760
1 parent 7c772a6 commit 29f4fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
name: A job to publish zulip-archive in GitHub pages
9898
steps:
9999
- name: Checkout
100-
uses: actions/checkout@v1
100+
uses: actions/checkout@v3
101101
- name: Run archive
102102
id: archive
103103
uses: zulip/zulip-archive@master

0 commit comments

Comments
 (0)