Add test plan item validator

This commit is contained in:
Jackson Kearl
2020-03-27 20:43:13 -07:00
parent 4454978939
commit 42886407eb
7 changed files with 26 additions and 6 deletions

View File

@@ -0,0 +1,20 @@
name: Test Plan Item Validator
on:
issues:
types: [edited, labeled]
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: 'JacksonKearl/vscode-triage-github-actions'
ref: v13
- name: Run Test Plan Item Validator
uses: ./test-plan-item-validator
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
label: testplan-items
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.