Skip to content

Commit

Permalink
Merge branch 'main' into hotfix/tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zgosalvez authored Dec 17, 2023
2 parents 90cf71c + 4254f3d commit 2e9eb0b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
4 changes: 3 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"devDependencies": {
"@vercel/ncc": "^0.38.0",
"eslint": "^8.55.0",
"eslint": "^8.56.0",
"jest": "^29.7.0"
}
}
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ async function run() {
jobHasError = runAssertions(uses, allowlist, isDryRun);
} else if (steps !== undefined) {
for (const step of steps) {
jobHasError ||= runAssertions(step['uses'], allowlist, isDryRun);
if (!jobHasError) {
jobHasError = runAssertions(step['uses'], allowlist, isDryRun);
}
}
} else {
core.warning(`The "${job}" job of the "${basename}" workflow does not contain uses or steps.`);
Expand Down

0 comments on commit 2e9eb0b

Please sign in to comment.