1 Commits
4 changed files with 13 additions and 1 deletions

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ jobs:
### Job timeout
A job gets 6 hours by default (`timeout-minutes` defaults to `360`), which is enough for Shannon.
A job gets 6 hours by default (`timeout-minutes` defaults to `360`), which is enough for most scans. For larger repositories or slower model providers a scan can take longer than 6 hours; since GitHub-hosted runners are capped at 6 hours, a self-hosted runner is recommended for those.
## Examples
+4
View File
@@ -10,6 +10,10 @@ permissions:
jobs:
scan:
runs-on: ubuntu-latest
# For larger repos or slower model providers, use a self-hosted runner (GitHub-hosted caps at 6h):
# https://docs.github.com/actions/hosting-your-own-runners/adding-self-hosted-runners
# runs-on: [self-hosted, linux]
# timeout-minutes: 720
steps:
- uses: actions/checkout@v4
+4
View File
@@ -12,6 +12,10 @@ permissions:
jobs:
scan:
runs-on: ubuntu-latest
# For larger repos or slower model providers, use a self-hosted runner (GitHub-hosted caps at 6h):
# https://docs.github.com/actions/hosting-your-own-runners/adding-self-hosted-runners
# runs-on: [self-hosted, linux]
# timeout-minutes: 720
steps:
- uses: actions/checkout@v4
+4
View File
@@ -13,6 +13,10 @@ permissions:
jobs:
scan:
runs-on: ubuntu-latest
# For larger repos or slower model providers, use a self-hosted runner (GitHub-hosted caps at 6h):
# https://docs.github.com/actions/hosting-your-own-runners/adding-self-hosted-runners
# runs-on: [self-hosted, linux]
# timeout-minutes: 720
steps:
- uses: actions/checkout@v4