Skip to content

Commit d032d7d

Browse files
ci(syft auto update): npm ci, not npm install (#597)
Otherwise npm install can introduce needless diff and open a PR even when the latest syft didn't change. Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
1 parent 2d09430 commit d032d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-syft-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
LATEST_VERSION=$(gh release view --json name -q '.name' -R anchore/syft)
2727
echo "export const VERSION = \"$LATEST_VERSION\";" > src/SyftVersion.ts
2828
# install husky hooks and dependencies:
29-
npm install
29+
npm ci
3030
# export the version for use with create-pull-request:
3131
echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_OUTPUT
3232
- uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0

0 commit comments

Comments
 (0)