Skip to content

Commit 06aaa34

Browse files
authored
chore: bump @socketsecurity/lib to 5.11.3 (#1131)
* chore: bump @socketsecurity/lib to 5.11.3 * fix(test): clear GITHUB_BASE_REF in getBaseBranch test The test for GITHUB_REF_NAME was flaky in CI because GitHub Actions sets GITHUB_BASE_REF in the real environment for PR workflows, causing getBaseBranch to return the real base ref instead of the test value.
1 parent e2bee79 commit 06aaa34

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

packages/cli/test/unit/utils/git/operations.test.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ describe('git utilities', () => {
123123
})
124124

125125
it('returns GITHUB_REF_NAME when it is a branch', async () => {
126+
setEnv('GITHUB_BASE_REF', '')
126127
setEnv('GITHUB_REF_TYPE', 'branch')
127128
setEnv('GITHUB_REF_NAME', 'feature-branch')
128129

pnpm-lock.yaml

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ catalog:
3535
'@socketregistry/packageurl-js': 1.3.5
3636
'@socketregistry/yocto-spinner': 1.0.25
3737
'@socketsecurity/config': 3.0.1
38-
'@socketsecurity/lib': 5.11.2
38+
'@socketsecurity/lib': 5.11.3
3939
'@socketsecurity/registry': 2.0.2
4040
'@socketsecurity/sdk': 3.4.1
4141
'@types/adm-zip': 0.5.7

0 commit comments

Comments
 (0)