Skip to content

Commit

Permalink
fix ownership after checkout, see actions/checkout#1049
Browse files Browse the repository at this point in the history
  • Loading branch information
LeroyR committed Mar 6, 2024
1 parent 955022c commit 8ec3b35
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ jobs:
- uses: actions/checkout@v4
with:
ref: gh-pages

- name: Take ownership of the checkout directory (Git CVE-2022-24765)
run: chown --recursive --reference=/ .

- name: Allow for file ownership conflicts with Docker and GitHub Actions
run: git config --global --add safe.directory '*'

- name: Download organization
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 8ec3b35

Please sign in to comment.