Advanced
Open
Pro
Running a Saved Workflow from a Nightly GitHub Actions Job
Your team saved a dynamic workflow, audit-routes, to
.claude/workflows/ after using it interactively to fan out an
auth-check audit across route files. Now they want it to run every
night via a scheduled, automation-mode GitHub Actions workflow:
on:
schedule:
- cron: "0 3 * * *"
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
prompt: "ultracode: audit every route handler for missing auth checks"
- Will the literal word
ultracodein thatpromptstring cause theaudit-routesworkflow (or any dynamic workflow) to run? Why or why not? - Rewrite the
promptso the saved workflow actually runs, and explain what approval step — if any — happens before it does. - Once the workflow's subagents start fanning out across route files, what permission mode do they run in, and what does the team need to prepare before this job's first run given that nothing in this pipeline can answer a mid-run permission prompt?
Share this question