Mayo Takanashi commited on
Commit
8f641d7
·
unverified ·
1 Parent(s): 3922362

ci: Enhance PR workflow with issue support and messages

Browse files

Added issue handling to the PR workflow and updated messages.

Files changed (1) hide show
  1. .github/workflows/pr.yml +17 -1
.github/workflows/pr.yml CHANGED
@@ -1,10 +1,13 @@
1
  name: PR
2
 
3
  on:
4
- pull_request_target:
 
 
5
  types: [opened]
6
 
7
  permissions:
 
8
  pull-requests: write
9
 
10
  jobs:
@@ -14,6 +17,19 @@ jobs:
14
  steps:
15
  - uses: actions/first-interaction@v3
16
  with:
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  pr_message: |
18
  Thanks for your first PR to Koharu.
19
 
 
1
  name: PR
2
 
3
  on:
4
+ issues:
5
+ types: [opened]
6
+ pull_request:
7
  types: [opened]
8
 
9
  permissions:
10
+ issues: write
11
  pull-requests: write
12
 
13
  jobs:
 
17
  steps:
18
  - uses: actions/first-interaction@v3
19
  with:
20
+ issue_message: |
21
+ Thanks for opening your first issue in Koharu.
22
+
23
+ Please include:
24
+ - what you expected to happen
25
+ - what happened instead
26
+ - steps to reproduce
27
+ - screenshots or logs if available
28
+ - your OS and GPU/runtime setup if the issue is build or inference related
29
+
30
+ If this is a support question or you want faster discussion, you can also use Discord:
31
+ https://discord.gg/mHvHkxGnUY
32
+
33
  pr_message: |
34
  Thanks for your first PR to Koharu.
35