You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/pr-file-check.yml
+8-25Lines changed: 8 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -15,29 +15,12 @@ jobs:
15
15
name: 'Check for changed files'
16
16
runs-on: ubuntu-latest
17
17
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
20
20
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)'
0 commit comments