Skip to content

Commit

Permalink
[CI] Avoid unsafe repository error from GitHub Actions
Browse files Browse the repository at this point in the history
c.f. https://github.com/actions/checkout/ Issue 760 for details
  • Loading branch information
matthewfeickert committed May 9, 2022
1 parent fa83acf commit 4897bfa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -456,6 +456,8 @@ jobs:

- name: Build
run: |
# c.f. https://github.com/actions/checkout/issues/760
git config --global --add safe.directory "$GITHUB_WORKSPACE"
cd packaging/
./makesrpm.sh \
--define "_with_python3 1" \
Expand Down

0 comments on commit 4897bfa

Please sign in to comment.