Skip to content

Commit 445a0cf

Browse files
authored
Run steps for valid issues only (microsoft#217596)
1 parent a5fea0c commit 445a0cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/on-open.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
2323

2424
- name: Run CopyCat (VSCodeTriageBot/testissues)
25+
if: github.event.issue.user.login != 'ghost'
2526
uses: ./actions/copycat
2627
with:
2728
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
@@ -30,6 +31,7 @@ jobs:
3031
repo: testissues
3132

3233
- name: Run New Release
34+
if: github.event.issue.user.login != 'ghost'
3335
uses: ./actions/new-release
3436
with:
3537
label: new release
@@ -41,6 +43,7 @@ jobs:
4143
days: 5
4244

4345
- name: Run Clipboard Labeler
46+
if: github.event.issue.user.login != 'ghost'
4447
uses: ./actions/regex-labeler
4548
with:
4649
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
@@ -49,6 +52,7 @@ jobs:
4952
comment: "It looks like you're using the VS Code Issue Reporter but did not paste the text generated into the created issue. We've closed this issue, please open a new one containing the text we placed in your clipboard.\n\nHappy Coding!"
5053

5154
- name: Run Clipboard Labeler (Chinese)
55+
if: github.event.issue.user.login != 'ghost'
5256
uses: ./actions/regex-labeler
5357
with:
5458
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
@@ -58,6 +62,7 @@ jobs:
5862

5963
# source of truth in ./english-please.yml
6064
- name: Run English Please
65+
if: github.event.issue.user.login != 'ghost'
6166
uses: ./actions/english-please
6267
with:
6368
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
@@ -69,6 +74,7 @@ jobs:
6974
translatorRequestedLabelColor: "c29cff"
7075
# source of truth in ./test-plan-item-validator.yml
7176
- name: Run Test Plan Item Validator
77+
if: github.event.issue.user.login != 'ghost'
7278
uses: ./actions/test-plan-item-validator
7379
with:
7480
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}

0 commit comments

Comments
 (0)