Skip to content

Commit 8f7c552

Browse files
authored
Merge pull request #20 from kernel/hypeship/semgrep-job-timeouts
Cap semgrep scan and triage job runtimes
2 parents bf1935c + 23924f2 commit 8f7c552

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/semgrep.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ on:
1717
jobs:
1818
scan:
1919
runs-on: ubuntu-latest
20+
timeout-minutes: 20
2021
container:
2122
image: semgrep/semgrep
2223
outputs:
@@ -81,6 +82,7 @@ jobs:
8182
8283
triage:
8384
runs-on: ubuntu-latest
85+
timeout-minutes: 15
8486
needs: scan
8587
if: needs.scan.outputs.findings_count != '0' && fromJson(needs.scan.outputs.findings_count) <= 20
8688
steps:

0 commit comments

Comments
 (0)