diff --git a/.github/workflows/issue-agent.yml b/.github/workflows/issue-agent.yml new file mode 100644 index 0000000..f35d37e --- /dev/null +++ b/.github/workflows/issue-agent.yml @@ -0,0 +1,24 @@ +jobs: + dispatch: + if: contains(github.event.comment.body, '@bot') + permissions: + contents: read + issues: read + runs-on: + - ubuntu-latest + steps: + - env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + name: Send task to coding agent + uses: https://git.yusufali.ca/automation/action@main + with: + api_token: ${{ secrets.AGENT_TOKEN }} + api_url: ${{ secrets.AGENT_API_URL }} + bot_route: codebot + debug: false +name: Send Tasks to Agent +'on': + issue_comment: + types: + - created + - edited