Renovate Bot fa7d2078bb
Some checks failed
Dependabot Auto-Merge / dependabot (pull_request) Has been skipped
Dependabot Auto-Merge / devopsbot (pull_request) Has been skipped
Dependabot Auto-Merge / rennovatebot (pull_request) Failing after 4s
Unit Tests / unittest (pull_request) Successful in 3s
COMMIT LINT / commitlint (pull_request) Successful in 26s
chore(deps): add renovate.json
2025-12-14 16:00:03 +00:00
2025-12-14 12:36:14 +00:00
2025-12-14 12:36:14 +00:00
2025-12-14 12:14:08 +00:00
2025-12-14 12:36:14 +00:00
2025-12-14 12:14:08 +00:00
2025-12-14 12:14:08 +00:00
2025-12-14 16:00:03 +00:00

Coding Automator Action

Send issue comments to the coding agent so it can pick up and work on tasks mentioned with @bot.

Quick start

name: Send Tasks to Agent
on:
  issue_comment:
    types: [created, edited]

jobs:
  dispatch:
    if: contains(github.event.comment.body, '@bot')
    runs-on: ubuntu-latest
    permissions:
      issues: read
      contents: read
    steps:
      - name: Send task to coding agent
        uses: git.yusufali.ca/automation/action@main
        with:
          api_url: ${{ secrets.AGENT_API_URL }}   # default: https://api.servc.io
          api_token: ${{ secrets.AGENT_TOKEN }}   # optional, required for authenticated API calls
          bot_route: coder-agent                  # default: codebot
          debug: false
        env:
          # Used to fetch the first issue comment for context; provided automatically by Actions
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

How it works

  • Trigger on issue_comment events that contain @bot.
  • The action fetches the first comment on the issue (when available) to capture the original task and strips the @bot mention. If none exists, it falls back to the triggering comment.
  • It posts the task, repo info, and issue number to the configured agent API route.
  • Agent responses are logged to the workflow output; failures set the step as failed.

Inputs

  • api_url (default https://api.servc.io): Agent API endpoint.
  • api_token (optional): Token sent as Apitoken header for authenticated calls.
  • bot_route (default codebot): Agent route to target.
  • debug (default false): When true, logs the payload and configuration for troubleshooting.

Notes

  • Ensure issues: read permission so the action can fetch the first comment for context.
  • The action respects GITHUB_SERVER_URL for GitHub Enterprise environments.
Description
This the github action for automation bot
Readme 1.3 MiB
Languages
JavaScript 98.8%
Shell 1.2%