Skip to content

Commit 5f1f98f

Browse files
joker23claude
andcommitted
fix(ci): disable immutable installs for dependency-scan
Yarn Berry auto-enables immutable installs in CI, but this repo gitignores yarn.lock, so the install fails. Match the pattern used in react.yml. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 94354c4 commit 5f1f98f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/dependency-scan.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636

3737
- name: Install dependencies
3838
run: yarn install
39+
env:
40+
YARN_ENABLE_IMMUTABLE_INSTALLS: 'false'
3941

4042
- name: Generate SBOM
4143
uses: launchdarkly/gh-actions/actions/dependency-scan/generate-sbom@0a54234f88a428df4163234dbb23ddb7fee8b8ec # main

0 commit comments

Comments
 (0)