Skip to content

Commit

Permalink
bug: fix fetching origin in update-sec-scanner.yaml (#956)
Browse files Browse the repository at this point in the history
/kind bug
/area ci

fixing workflow error `error: pathspec 'autobump/sec-scanners-config' did not match any file(s) known to git`.
git fetch origin is missing
  • Loading branch information
Ressetkk authored Jul 30, 2024
1 parent 0ea2499 commit 37124e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/update-sec-scanner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git fetch origin
git checkout -f autobump/sec-scanners-config
git reset --hard origin/main
sed -i "s/europe-docker\.pkg\.dev\/kyma-project\/prod\/istio-manager\:.*/europe-docker\.pkg\.dev\/kyma-project\/prod\/istio-manager\:$IMAGE_TAG/" sec-scanners-config.yaml
Expand Down

0 comments on commit 37124e7

Please sign in to comment.