diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db4c76e5..3309e03a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,12 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - 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: Compile run: rebar3 compile