Skip to content

Commit 86dda21

Browse files
committed
zizmor: fix checks
Signed-off-by: CrazyMax <[email protected]>
1 parent 834294f commit 86dda21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/zizmor.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ jobs:
4545
...context.repo,
4646
}).catch(error => {
4747
if (error.status === 403) {
48-
core.setFailed('Advanced Security needs to be enabled on this repository.');
48+
throw new Error('Advanced Security needs to be enabled on this repository.');
4949
}
5050
});
51-
core.info('Advanced Security is enabled.');
51+
core.info('Advanced Security is enabled on this repository.');
5252
-
5353
name: Setup uv
5454
if: ${{ env.HAS_WORKFLOWS }}

0 commit comments

Comments
 (0)