Skip to contentCursor Action

Cursor Action runs your coding agent inside the workflows you already have.

What a run looks like

review.yml
- name: Run Cursor Agent
  id: cursor
  uses: PunGrumpy/cursor-action@v1
  with:
    api-key: ${{ secrets.CURSOR_API_KEY }}
    prompt: "Review the changes and summarize the risks."
Job summary
Status
Success
Exit code
0

The response also lands in outputs.summary, ready for the next step to comment, gate, or ignore.

What you get

The answer is a value, not a log line

steps.<id>.outputs.summary holds whatever the agent wrote back. Comment it on the pull request, append it to the job summary, or gate what runs next. The action does not decide for you.

See the examples

What it does not do yet

  • permissions is accepted but never enforced. read-only will not stop the agent editing files or running shell commands.
  • A run that times out, or fails inside the agent, still reports success. Do not gate a merge on it yet.
Read exactly how it behaves