Paths Subjects Questions Quizzes Pricing Search
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"
  1. Will the literal word ultracode in that prompt string cause the audit-routes workflow (or any dynamic workflow) to run? Why or why not?
  2. Rewrite the prompt so the saved workflow actually runs, and explain what approval step — if any — happens before it does.
  3. 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

← Back to Headless Mode, CI Automation & the Agent SDK practice

We use cookies for product analytics to improve OmniAtlas. See our Privacy Policy.