We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94b6c39 commit d13280aCopy full SHA for d13280a
1 file changed
.github/workflows/issue-label-commenter.yml
@@ -7,8 +7,18 @@ jobs:
7
comment:
8
runs-on: ubuntu-18.04
9
steps:
10
+ - name: get comment count
11
+ id: getCommentCount
12
+ env:
13
+ comments: ${{ github.event.issue.comments }}
14
+ run: |
15
+ echo "$comments"
16
+ CL=$(echo $comments | jq '. | length' )
17
+ echo "::set-output name=comments_length::$CL"
18
- uses: actions/checkout@v2
19
+ if: steps.getCommentCount.outputs.comments_length == 0
20
- uses: peaceiris/actions-label-commenter@v1
21
22
with:
23
github_token: ${{ secrets.PAT }}
24
config_file: .github/issue-commenter.yml
0 commit comments