diff --git a/.github/workflows/ai.yml b/.github/workflows/ai.yml index 7a77237..023b6e9 100644 --- a/.github/workflows/ai.yml +++ b/.github/workflows/ai.yml @@ -6,7 +6,7 @@ name: AI on: schedule: - cron: "17 13 * * 6" # Sundays: issue generator - - cron: "17 13 * * 2" # Wednesdays: issue solver and test improver + - cron: "17 13 * * *" # Daily: issue solver and test improver workflow_dispatch: inputs: run: @@ -35,17 +35,18 @@ jobs: uv-extra-args: "--all-groups --all-extras" issue-solver: - if: github.event.schedule == '17 13 * * 2' || inputs.run == 'issue-solver' + if: github.event.schedule == '17 13 * * *' || inputs.run == 'issue-solver' uses: ucgmsim/meta-ci-action/.github/workflows/ai-issue-solver.yml@v2 secrets: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} with: - issue: ${{ inputs.issue || 0 }} + # A dispatch passes the number as a string, which a number input rejects. + issue: ${{ fromJSON(inputs.issue || '0') }} system-packages: "gmt libgmt-dev ghostscript gdal-bin libgdal-dev" uv-extra-args: "--all-groups --all-extras" test-improver: - if: github.event.schedule == '17 13 * * 2' || inputs.run == 'test-improver' + if: github.event.schedule == '17 13 * * *' || inputs.run == 'test-improver' uses: ucgmsim/meta-ci-action/.github/workflows/ai-test-improver.yml@v2 secrets: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}