Skip to content

Commit

Permalink
fix: Address GitHub workaround for CVE-2022-24765.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rht committed Apr 14, 2022
1 parent 7c772a6 commit 29f4fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -97,7 +97,7 @@ jobs:
name: A job to publish zulip-archive in GitHub pages
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Run archive
id: archive
uses: zulip/zulip-archive@master
Expand Down

0 comments on commit 29f4fb6

Please sign in to comment.