diff --git a/.github/workflows/ai-on-demand.yml b/.github/workflows/ai-on-demand.yml new file mode 100644 index 0000000..7b2d3e1 --- /dev/null +++ b/.github/workflows/ai-on-demand.yml @@ -0,0 +1,30 @@ +name: AI On-Demand Assistant +on: + issue_comment: + types: [created] + pull_request_review_comment: + types: [created] + pull_request_review: + types: [submitted] + issues: + types: [opened] + +permissions: + contents: read + issues: write + pull-requests: write + actions: read + +jobs: + ai-response: + uses: signinwithethereum/workflow-automation/.github/workflows/issue-response.yml@v1.0.0 + with: + config-profile: "frontend" + bot-mention: "@siwe-dev-ops" + enable-auto-labeling: true + enable-escalation: true + secrets: + DEV_OPS_BOT_CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.DEV_OPS_BOT_CLAUDE_CODE_OAUTH_TOKEN }} + DEV_OPS_BOT_APP_ID: ${{ secrets.DEV_OPS_BOT_APP_ID }} + DEV_OPS_BOT_PRIVATE_KEY: ${{ secrets.DEV_OPS_BOT_PRIVATE_KEY }} + DEV_OPS_BOT_ALLOWED_USER_LIST: ${{ secrets.DEV_OPS_BOT_ALLOWED_USER_LIST }} \ No newline at end of file diff --git a/.github/workflows/ai-review.yml b/.github/workflows/ai-review.yml new file mode 100644 index 0000000..a54b3e8 --- /dev/null +++ b/.github/workflows/ai-review.yml @@ -0,0 +1,21 @@ +name: AI Code Review +on: + pull_request: + types: [opened, synchronize, reopened] + +permissions: + contents: read + pull-requests: write + issues: write + actions: read + +jobs: + ai-review: + uses: signinwithethereum/workflow-automation/.github/workflows/pr-review.yml@v1.0.0 + with: + config-profile: "frontend" + secrets: + DEV_OPS_BOT_CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.DEV_OPS_BOT_CLAUDE_CODE_OAUTH_TOKEN }} + DEV_OPS_BOT_APP_ID: ${{ secrets.DEV_OPS_BOT_APP_ID }} + DEV_OPS_BOT_PRIVATE_KEY: ${{ secrets.DEV_OPS_BOT_PRIVATE_KEY }} + DEV_OPS_BOT_ALLOWED_USER_LIST: ${{ secrets.DEV_OPS_BOT_ALLOWED_USER_LIST }} \ No newline at end of file