Skip to content

Commit 7834083

Browse files
committed
only restrict spec versions
we want to do schema maintenance
1 parent 7c6dba2 commit 7834083

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/check-restricted-files.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ name: check-restricted-files
88
on:
99
pull_request:
1010
paths:
11-
- "schemas/v[0-9].[0-9]/*.yaml"
1211
- "versions/[0-9].[0-9].[0-9].md"
1312

1413
jobs:
@@ -34,6 +33,6 @@ jobs:
3433
3534
echo This PR contains changes to files that should not be changed:
3635
echo
37-
git diff --compact-summary origin/${{ github.event.pull_request.base.ref }} origin/${{ github.event.pull_request.head.ref }} -- schemas/v[0-9].[0-9]/*.yaml versions/[0-9].[0-9].[0-9].md
36+
git diff --compact-summary origin/${{ github.event.pull_request.base.ref }} origin/${{ github.event.pull_request.head.ref }} -- versions/[0-9].[0-9].[0-9].md
3837
3938
exit 1

0 commit comments

Comments
 (0)