Skip to content

Commit dfd59e1

Browse files
committed
Update Nightly Scan Workflow
1 parent 3c6d330 commit dfd59e1

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/nightly-scan.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: Nightly Codebase Scan
22

33
on:
44
schedule:
5-
# Run every day at 6am UTC
6-
- cron: '0 6 * * *'
5+
# Run every day at 2am UTC
6+
- cron: "0 2 * * *"
77
workflow_dispatch:
88
inputs:
99
dry-run:
10-
description: 'Log issues only, do not create them'
10+
description: "Log issues only, do not create them"
1111
type: boolean
1212
default: false
1313

@@ -22,6 +22,7 @@ concurrency:
2222
jobs:
2323
scan:
2424
runs-on: ubuntu-latest
25+
timeout-minutes: 30
2526
env:
2627
HAS_APP_SECRETS: ${{ secrets.CAGENT_REVIEWER_APP_ID != '' }}
2728

@@ -57,7 +58,7 @@ jobs:
5758
GH_TOKEN: ${{ steps.app-token.outputs.token || github.token }}
5859
with:
5960
agent: ${{ github.workspace }}/.github/agents/nightly-scanner.yaml
60-
prompt: ${{ inputs.dry-run && 'DRY RUN MODE: Do not create any issues. Just report what you would create.' || '' }}
61+
prompt: "${{ inputs['dry-run'] && 'DRY RUN MODE: Do not create any issues. Just report what you would create.' || '' }}"
6162
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
6263
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
6364
google-api-key: ${{ secrets.GEMINI_API_KEY }}

0 commit comments

Comments
 (0)