Skip to content

Commit dc58dcf

Browse files
author
Kartik Raj
committed
pr file check
1 parent 5298fbe commit dc58dcf

1 file changed

Lines changed: 8 additions & 25 deletions

File tree

.github/workflows/pr-file-check.yml

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,12 @@ jobs:
1515
name: 'Check for changed files'
1616
runs-on: ubuntu-latest
1717
steps:
18-
- name: 'package-lock.json matches package.json'
19-
uses: brettcannon/check-for-changed-files@v1.1.0
18+
- name: Checkout Actions
19+
uses: actions/checkout@v3
2020
with:
21-
prereq-pattern: 'package.json'
22-
file-pattern: 'package-lock.json'
23-
skip-label: 'skip package*.json'
24-
failure-message: '${prereq-pattern} was edited but ${file-pattern} was not (the ${skip-label} label can be used to pass this check)'
25-
26-
- name: 'package.json matches package-lock.json'
27-
uses: brettcannon/check-for-changed-files@v1.1.0
28-
with:
29-
prereq-pattern: 'package-lock.json'
30-
file-pattern: 'package.json'
31-
skip-label: 'skip package*.json'
32-
failure-message: '${prereq-pattern} was edited but ${file-pattern} was not (the ${skip-label} label can be used to pass this check)'
33-
34-
- name: 'Tests'
35-
uses: brettcannon/check-for-changed-files@v1.1.0
36-
with:
37-
prereq-pattern: src/**/*.ts
38-
file-pattern: |
39-
src/**/*.test.ts
40-
src/**/*.testvirtualenvs.ts
41-
.github/test_plan.md
42-
skip-label: 'skip tests'
43-
failure-message: 'TypeScript code was edited without also editing a ${file-pattern} file; see the Testing page in our wiki on testing guidelines (the ${skip-label} label can be used to pass this check)'
21+
repository: 'microsoft/vscode-python-engineering'
22+
path: ./actions
23+
- name: Install Actions
24+
run: npm install --production --prefix ./actions
25+
- name: Check for changed files
26+
uses: ./actions/pr-file-check

0 commit comments

Comments
 (0)