Skip to content

Commit

Permalink
chore: the code assistant workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-inf committed Feb 13, 2025
1 parent 972c0d8 commit 0af2a53
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/code-assistant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Code Assistant
on:
issue_comment:
types: [created]

env:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

jobs:
code-assistant:
name: Code Assistant
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/code-assistant')
runs-on: ubuntu-latest
steps:
- name: AI Code Assistant
uses: apecloud-inc/gha-code-assistant@main
env:
GITHUB_TOKEN: ${{ env.GH_TOKEN }}

0 comments on commit 0af2a53

Please sign in to comment.