Skip to content

Commit 8a76a5e

Browse files
author
Oluwole Fadeyi
authored
Merge pull request #321 from jetstack/pipeline-fix
Add github actions workaround for CI pipeline
2 parents c995b77 + 23724f8 commit 8a76a5e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/release-master.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
# and 'coreutils' because the 'slsa-provenance-action' requires a version
4949
# of 'base64' that supports the -w flag.
5050
run: apk add --update make git jq rsync curl bash coreutils
51+
- name: Adding github workspace as safe directory
52+
# See issue https://github.com/actions/checkout/issues/760
53+
run: git config --global --add safe.directory $GITHUB_WORKSPACE
5154
- name: Install cosign
5255
uses: sigstore/cosign-installer@581838fbedd492d2350a9ecd427a95d6de1e5d01
5356
with:

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
steps:
4444
- name: Install Tools
4545
run: apk add --update make git jq rsync curl
46+
- name: Adding github workspace as safe directory
47+
# See issue https://github.com/actions/checkout/issues/760
48+
run: git config --global --add safe.directory $GITHUB_WORKSPACE
4649
- uses: actions/checkout@v3
4750
- name: Set up QEMU
4851
uses: docker/setup-qemu-action@v1

0 commit comments

Comments
 (0)