Skip to content

Commit

Permalink
Merge pull request #1702 from matthewfeickert/fix/gha-ci-change
Browse files Browse the repository at this point in the history
[CI] Avoid unsafe repository error from GitHub Actions
  • Loading branch information
simonmichal committed May 10, 2022
2 parents fa83acf + 0f44615 commit b15cc51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Expand Up @@ -153,7 +153,7 @@ build:cc7:
# - schedules
# - web

build:fedorai-35:
build:fedora-35:
stage: build:rpm
image: fedora:35
script:
Expand Down

0 comments on commit b15cc51

Please sign in to comment.