aaronsteers/Devin Action

Triggers a Devin.ai session with a given prompt or playbook. Optimized for use directly or as a response to slash commands.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 16, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: aaronsteers/devin-knowledge-action@544f44198e3561cbadc0b144e49605d902e16def # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
comment-idComment ID (optional, for reply chaining and context)no
issue-numberIssue or PR number (optional, for context). This can be either an issue number or a pull request number.no
playbook-macroPlaybook macro (optional, for structured workflows) - should start with '!' (e.g., !my_playbook)no
prompt-textAdditional prompt text (optional). Mutually exclusive with prompt-file.no
prompt-filePath to a file containing the prompt text (optional, relative to the repository root). Use this instead of prompt-text to avoid YAML quoting/escaping issues with multi-line prompts. Mutually exclusive with prompt-text.no
devin-tokenDevin API Token (required for authentication). For v1 API: Personal API Key (apk_user_*) or Service API Key (apk_*). For v3 API: Service User credential with ManageOrgSessions permission (service users only; PATs are not supported for v3). yes
github-tokenGitHub Token (required for posting comments and accessing repo context)no
start-messageMessage to include in the start commentno�� **Starting Devin AI session...**
tagsAdditional tags to apply to the Devin session (supports CSV or line-delimited format). Automatic tags are always added: gh-actions-trigger and playbook-{macro-name} if playbook-macro is provided. Cannot be used with reuse-session.no
reuse-sessionExisting Devin session ID or URL to inject a message into (optional). When provided, sends a message to an existing session instead of creating a new one. Accepts either a session ID or a full URL (e.g., https://app.devin.ai/sessions/abc123). Mutually exclusive with 'tags' input.no
dry-runIf 'true', the action will simulate the process without making an actual API call to Devinnofalse
wait-for-stopped-statusIf 'true', polls GET /v1/sessions/{session_id} until status_enum is any non-working state.nofalse
wait-minutes-maxMaximum minutes to poll before timing out (only used when wait-for-stopped-status is enabled)no20
api-versionDevin API version to use. Options: 'auto' (default, selects v1 or v3 based on inputs), 'v1' (force v1 API), 'v3' (force v3 API). When 'auto', v3 is used if advanced-mode or session-links is provided; otherwise v1. Setting 'v1' with v3-only features (advanced-mode, session-links, max-acu-limit) will produce an error.noauto
advanced-modeV3 API advanced mode (optional). Enables specialized session behaviors for automation workflows. Options: 'analyze' (analyze existing sessions via session-links), 'create' (create a new playbook), 'improve' (improve an existing playbook), 'batch' (start multiple sessions), 'manage' (manage knowledge). When set, uses the v3 API endpoint. Requires org-id.no
session-linksSession URLs or IDs to provide as context (optional, supports CSV or line-delimited format). Required when advanced-mode is 'analyze'. When provided without advanced-mode, defaults to 'analyze' mode automatically.no
org-idDevin organization ID (required when using v3 API features such as advanced-mode or session-links). For org-scoped service users this may be auto-resolved, but providing it explicitly is recommended.no
max-acu-limitMaximum ACU limit for the session (optional, v3 API only). Caps the compute budget for the session.no
playbook-idPlaybook ID to use for the session (v3 API only). When set, the session will follow the referenced playbook's instructions. The playbook must already exist in the Devin API (synced via the ai-skills repo or created manually).no
child-playbook-idPlaybook ID for child sessions (v3 API only). Required when advanced-mode is 'batch' or 'improve'.no
bypass-approvalIf 'true', bypass the approval step for batch session creation (v3 API only, batch mode). Requires UseDevinExpert permission.nofalse
namedescription
session-idThe Devin session ID
session-urlThe URL to view the Devin session
promptThe base64-encoded prompt sent to Devin
prompt_readableThe human-readable prompt sent to Devin
run-urlThe GitHub Actions run URL
statusThe terminal status_enum value when polling completes (only set when wait-for-stopped-status is enabled)
summaryThe last message from the session (only set when wait-for-stopped-status is enabled)