2022-06-14 14:37:10 +08:00
name : Test Plan Item Validator
on :
issues :
types : [ edited]
2024-04-30 20:57:13 +08:00
# also edit in ./on-label.yml and ./on-open.yml
2022-06-14 14:37:10 +08:00
jobs :
main :
runs-on : ubuntu-latest
steps :
- name : Checkout Actions
if : contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
2024-04-30 20:57:13 +08:00
uses : actions/checkout@v4
2022-06-14 14:37:10 +08:00
with :
repository : "microsoft/vscode-github-triage-actions"
path : ./actions
ref : stable
- name : Install Actions
if : contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
run : npm install --production --prefix ./actions
- name : Run Test Plan Item Validator
if : contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
uses : ./actions/test-plan-item-validator
with :
2024-04-30 20:57:13 +08:00
token : ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
refLabel : on -testplan
2022-06-14 14:37:10 +08:00
label : testplan-item
invalidLabel : invalid-testplan-item
comment : Invalid test plan item. See errors below and the [test plan item spec](https://github.com/microsoft/vscode/wiki/Writing-Test-Plan-Items) for more information. This comment will go away when the issues are resolved.