-
Notifications
You must be signed in to change notification settings - Fork 41
30 lines (26 loc) · 1 KB
/
test_plan_item_validator.yml
File metadata and controls
30 lines (26 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Test Plan Item Validator
on:
issues:
types: [edited, labeled]
permissions:
issues: write
jobs:
main:
runs-on: ubuntu-latest
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
steps:
- name: Checkout Actions
uses: actions/checkout@v4
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
persist-credentials: false
ref: stable
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Test Plan Item Validator
uses: ./actions/test-plan-item-validator
with:
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.