Merge pull request 'devopsbot update' (#4) from feature/devops into main
All checks were successful
Unit Tests / unittest (push) Successful in 3s
All checks were successful
Unit Tests / unittest (push) Successful in 3s
Reviewed-on: automation/action#4
This commit is contained in:
24
.github/workflows/issue-agent.yml
vendored
Normal file
24
.github/workflows/issue-agent.yml
vendored
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user