Skip to content

Commit

Permalink
Issue skupperproject#908 - Set checkout directory as git safe-dir to …
Browse files Browse the repository at this point in the history
…workaround security

See actions/checkout#766 for what changes happened in git
  • Loading branch information
jiridanek committed Jan 19, 2023
1 parent 50d4c14 commit fd3edea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Expand Up @@ -739,11 +739,16 @@ jobs:
- uses: actions/checkout@v3

- name: Configure checkout as git safe directory
run: git config --global --add safe.directory "$(pwd)"

- name: Deploy the spec.rpkg file to /
run: ln -s packaging/skupper-router.spec.rpkg ./

- name: Install build dependencies (2/2)
run: |
git status
export GIT_ROOT=`pwd`
rpkg spec --outdir /tmp/rpkg
dnf builddep --setopt=tsflags=nodocs --setopt=install_weak_deps=False -y /tmp/rpkg/skupper-router.spec
Expand Down

0 comments on commit fd3edea

Please sign in to comment.