-
-
Notifications
You must be signed in to change notification settings - Fork 60
35 lines (32 loc) · 1.12 KB
/
ai-support.yml
File metadata and controls
35 lines (32 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: AI Issue Support
on:
issues:
types: [opened]
issue_comment:
types: [created]
permissions:
issues: write
contents: write
pull-requests: write
jobs:
support:
if: >-
(github.event_name == 'issues' && github.event.issue.user.type != 'Bot') ||
(github.event_name == 'issue_comment' &&
github.event.comment.user.type != 'Bot' &&
!github.event.issue.pull_request)
uses: kangarko/ai-support/.github/workflows/ai-support.yml@master
with:
project_id: chatcontrol
source_repo: kangarko/ChatControl-Src
event_name: ${{ github.event_name }}
issue_title: ${{ github.event.issue.title }}
issue_body: ${{ github.event.issue.body || '' }}
issue_number: ${{ github.event.issue.number }}
issue_labels: ${{ join(github.event.issue.labels.*.name, ',') }}
comment_body: ${{ github.event.comment.body || '' }}
comment_author: ${{ github.event.comment.user.login || '' }}
secrets:
COPILOT_MCP_GITHUB_TOKEN: ${{ secrets.COPILOT_MCP_GITHUB_TOKEN }}
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}