Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/nextjs-tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ jobs:
fi

- name: Build tracker prompt
id: build_prompt
if: steps.commits.outputs.has_commits == 'true'
run: |
HOURS="${{ github.event.inputs.since_hours || '24' }}"
DRY_RUN="${{ github.event.inputs.dry_run || 'false' }}"

if [ "$DRY_RUN" = "true" ]; then
Expand Down Expand Up @@ -114,7 +114,11 @@ jobs:
PROMPT_EOF
fi

echo "Prompt written (dry_run=$DRY_RUN)"
{
echo 'prompt<<PROMPT_DELIM'
cat /tmp/tracker-prompt.md
echo 'PROMPT_DELIM'
} >> "$GITHUB_OUTPUT"

- name: Run Next.js Tracker
if: steps.commits.outputs.has_commits == 'true'
Expand All @@ -129,7 +133,7 @@ jobs:
permissions: write
opencode_dev: false
agent: nextjs-tracker
prompt_file: /tmp/tracker-prompt.md
prompt: ${{ steps.build_prompt.outputs.prompt }}

- name: Skip (no commits)
if: steps.commits.outputs.has_commits == 'false'
Expand Down
Loading