File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : Step 3
2
2
3
3
on :
4
- issues :
5
- types : [opened ]
4
+ issue_comment :
5
+ types : [created, edited ]
6
6
7
7
permissions :
8
8
contents : read
13
13
STEP_3_FILE : " .github/steps/4-step.md"
14
14
15
15
jobs :
16
+ required_issue_comment_keywords :
17
+ name : Check issue comment text for required keyword
18
+ runs-on : ubuntu-latest
19
+
20
+ steps :
21
+ - name : Check for professortocat reference
22
+ uses : skills/action-keyphrase-checker@v1
23
+ with :
24
+ text : ${{ github.event.comment.body }}
25
+ keyphrase : " professortocat"
26
+ case-sensitive : false
27
+ minimum-occurrences : 1
28
+
29
+ - name : Check for alert reference
30
+ uses : skills/action-keyphrase-checker@v1
31
+ with :
32
+ text : ${{ github.event.comment.body }}
33
+ keyphrase : " alert"
34
+ case-sensitive : false
35
+ minimum-occurrences : 1
36
+
16
37
find_exercise :
38
+ needs : [required_issue_comment_keywords]
17
39
name : Find Exercise Issue
18
40
uses :
skills/exercise-toolkit/.github/workflows/[email protected]
19
41
You can’t perform that action at this time.
0 commit comments