mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
01f471f25c
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
1.3 KiB
YAML
30 lines
1.3 KiB
YAML
name: Test Plan Item Validator
|
|
on:
|
|
issues:
|
|
types: [edited]
|
|
|
|
# also edit in ./on-label.yml and ./on-open.yml
|
|
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')
|
|
uses: actions/checkout@v4
|
|
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:
|
|
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
refLabel: on-testplan
|
|
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.
|