diff --git a/.github/workflows/ai-on-demand.yml b/.github/workflows/ai-on-demand.yml index b84077f..29f4e16 100644 --- a/.github/workflows/ai-on-demand.yml +++ b/.github/workflows/ai-on-demand.yml @@ -9,17 +9,13 @@ on: issues: types: [opened] -permissions: - contents: read - issues: write - pull-requests: write - actions: read - jobs: ai-response: - uses: ethereumfollowprotocol/workflow-automation/.github/workflows/issue-response.yml@v1.0.2 + uses: ethereumfollowprotocol/workflow-automation/.github/workflows/issue-response.yml@v1.0.7 with: - config-profile: "default" + config-profile: "backend" + repository-config: ".github/ai-review-config.json" + claude-code-action-ref: "0xthrpw/claude-code-action@v0.0.1" bot-mention: "@efp-dev-ops" enable-auto-labeling: true enable-escalation: true diff --git a/.github/workflows/ai-review.yml b/.github/workflows/ai-review.yml index c7bd9a1..0faa0da 100644 --- a/.github/workflows/ai-review.yml +++ b/.github/workflows/ai-review.yml @@ -3,17 +3,13 @@ on: pull_request: types: [opened, synchronize, reopened] -permissions: - contents: read - pull-requests: write - issues: write - actions: read - jobs: ai-review: - uses: ethereumfollowprotocol/workflow-automation/.github/workflows/pr-review.yml@v1.0.2 + uses: ethereumfollowprotocol/workflow-automation/.github/workflows/pr-review.yml@v1.0.7 with: - config-profile: "default" + config-profile: "backend" + repository-config: ".github/ai-review-config.json" + claude-code-action-ref: "0xthrpw/claude-code-action@v0.0.1" enable-security-review: true enable-quality-review: true enable-documentation-review: true @@ -21,4 +17,4 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} APP_ID: ${{ secrets.APP_ID }} PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} - ALLOWED_USER_LIST: ${{ secrets.ALLOWED_USER_LIST }} \ No newline at end of file + ALLOWED_USER_LIST: ${{ secrets.ALLOWED_USER_LIST }}