diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57a62880..9c5e0213 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,13 @@ jobs: steps: - uses: actions/checkout@v4 + + - 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: LaTeX compilation run: TERM=xterm make ${{ matrix.document }} @@ -45,6 +52,7 @@ jobs: - uses: actions/checkout@v4 with: ref: gh-pages + - name: Download organization uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbc89e8a..11ee5437 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,13 @@ jobs: container: texlive/texlive:TL2022-historic steps: - uses: actions/checkout@v4 + + - 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: LaTeX compilation Organization run: TERM=xterm make organization