Skip to content

Commit 20161ee

Browse files
authored
Use triage bot PAT for TPI validator so comments come from bot (microsoft#157944)
1 parent bb15888 commit 20161ee

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/on-label.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
7272
uses: ./actions/test-plan-item-validator
7373
with:
74+
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
7475
refLabel: on-testplan
7576
label: testplan-item
7677
invalidLabel: invalid-testplan-item

.github/workflows/on-open.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
- name: Run Test Plan Item Validator
6767
uses: ./actions/test-plan-item-validator
6868
with:
69+
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
6970
refLabel: on-testplan
7071
label: testplan-item
7172
invalidLabel: invalid-testplan-item

.github/workflows/test-plan-item-validator.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
2323
uses: ./actions/test-plan-item-validator
2424
with:
25+
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
2526
refLabel: on-testplan
2627
label: testplan-item
2728
invalidLabel: invalid-testplan-item

0 commit comments

Comments
 (0)