mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
Coelece actions
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
name: Test Plan Item Validator
|
||||
on:
|
||||
issues:
|
||||
types: [edited, labeled]
|
||||
types: [edited]
|
||||
|
||||
# also edit in ./on-label.yml
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -12,13 +13,14 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: 'microsoft/vscode-github-triage-actions'
|
||||
path: ./actions
|
||||
ref: v1
|
||||
- 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
|
||||
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: ./test-plan-item-validator
|
||||
uses: ./actions/test-plan-item-validator
|
||||
with:
|
||||
label: testplan-item
|
||||
invalidLabel: invalid-testplan-item
|
||||
|
||||
Reference in New Issue
Block a user