Skip to content

Commit

Permalink
safedir ?
Browse files Browse the repository at this point in the history
safedir ?

safedir ?

safedir ?

Issue skupperproject#908 - Set checkout directory as git safe-dir to workaround security

See actions/checkout#766 for what changes happened in git
  • Loading branch information
jiridanek committed Jan 20, 2023
1 parent 50d4c14 commit 12758cd
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: cd .. && git config --global --add safe.directory "$(pwd)/skupper-router"

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

- name: Install build dependencies (2/2)
run: |
git status
git rev-parse --show-toplevel
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 12758cd

Please sign in to comment.