We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59a525a commit 5334091Copy full SHA for 5334091
1 file changed
.github/workflows/target.yml
@@ -6,6 +6,7 @@ on: issue_comment
6
jobs:
7
check-permission:
8
runs-on: ubuntu-latest
9
+ if: ${{ !github.event.issue.pull_request && contains(github.event.comment.body,'!target') }}
10
name: Check permission
11
steps:
12
# Check for write permission
@@ -28,5 +29,17 @@ jobs:
28
29
30
run-command:
31
name: Run label check
- needs: [check-permission]
32
- uses: HeatherComputer/.github/.github/workflows/target-label.yml@master
+ needs: [check-permission]runs-on: ubuntu-latest
33
+
34
+ steps:
35
36
+ - name: Get Version
37
+ id: version
38
+ run: |
39
+ X=`echo {{ github.event.comment.body }} | grep -o '!target.*' | awk '{print $2}'`; echo "Target: $X" >> "$GITHUB_OUTPUT"
40
+ echo "Target : $X"
41
42
+ - name : "Create label if it doesn't exist"
43
+ id: create-label
44
45
+ gh label list
0 commit comments