mirror of
https://github.com/KeygraphHQ/shannon-action.git
synced 2026-11-09 17:20:23 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
feb8b22aa0 |
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user