-
-
Notifications
You must be signed in to change notification settings - Fork 4
72 lines (59 loc) · 2.24 KB
/
issue-handler.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
on:
issues:
types: [opened]
permissions:
issues: read
contents: read
jobs:
first-interaction:
name: First Interaction
runs-on: ubuntu-latest
steps:
- uses: jamestrousdale/github-app-jwt-token@0.1.4
id: gen
with:
app-id: '363587'
private-key: ${{ secrets.APP_KEY }}
- uses: actions/first-interaction@v1.3.0
with:
repo-token: ${{ steps.gen.outputs.access-token }}
issue-message: |-
Hello @${{github.actor}} 👋
We really appreciate you taking the time to report this issue! Please double-check your report to ensure your description is clear and concise—this will help us assist you as quickly as possible.
We kindly ask for your patience, and we'll get back to you as soon as we can.
In the meantime, feel free to check out our [FAQs](https://github.com/ciderapp/Cider-2/tree/main?tab=readme-ov-file#faq), which may have the answer to your question.
Thanks again, and we hope you enjoy the app! 😃
label-component:
name: Automatically Label Issue
runs-on: ubuntu-latest
steps:
- uses: jamestrousdale/github-app-jwt-token@0.1.4
id: gen
with:
app-id: '363587'
private-key: ${{ secrets.APP_KEY }}
- uses: actions/checkout@v4.2.2
- name: Parse issue form
uses: stefanbuck/github-issue-parser@v3.2.1
id: issue-parser
with:
template-path: .github/ISSUE_TEMPLATE/bug.yml
- name: Set the Labels
uses: redhat-plumbers-in-action/advanced-issue-labeler@v3.2.0
with:
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
token: ${{ steps.gen.outputs.access-token }}
add-to-project:
name: Add Issue to Project
runs-on: ubuntu-latest
steps:
- uses: jamestrousdale/github-app-jwt-token@0.1.4
id: gen
with:
app-id: '363587'
private-key: ${{ secrets.APP_KEY }}
- run: gh issue edit "$NUMBER" --add-project "Cider - Bug Reports"
env:
GH_TOKEN: ${{ steps.gen.outputs.access-token }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}