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 2b2587a commit b7ae01eCopy full SHA for b7ae01e
.github/workflows/triage-issue-comments.yml
@@ -47,9 +47,22 @@ jobs:
47
48
- uses: ./.github/actions/node-npm-setup
49
50
+ - name: Check issue exists
51
+ id: exists
52
+ env:
53
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54
+ ISSUE_URL: ${{ github.event.issue.html_url }}
55
+ run: |
56
+ if gh issue view $ISSUE_URL > /dev/null 2>&1
57
+ then
58
+ echo "exists=y" >> $GITHUB_OUTPUT
59
+ else
60
+ echo "exists=n" >> $GITHUB_OUTPUT
61
+ fi
62
+
63
- name: Label issues with new comments with 'triage'
64
uses: ./.github/actions/labeler
- if: ${{ steps.is-internal-contributor.outputs.result == 'false' }}
65
+ if: ${{ steps.is-internal-contributor.outputs.result == 'false' && steps.exists.outputs.exists == 'y' }}
66
with:
67
addLabels: 'triage'
68
ignoreIfLabeled: true
0 commit comments