Skip to content

Commit 4b200ad

Browse files
committed
ci: disallow changes to these directories
1 parent 0785436 commit 4b200ad

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Validate Supported API Versions
2+
on:
3+
pull_request:
4+
paths:
5+
- 'gateway/v6.ts'
6+
- 'gateway/v8.ts'
7+
- 'payloads/v6/**'
8+
- 'payloads/v8/**'
9+
- 'rest/v6/**'
10+
- 'rest/v8/**'
11+
- 'rpc/v8.ts'
12+
- 'utils/v8.ts'
13+
- 'voice/v8.ts'
14+
- 'v6.ts'
15+
- 'v8.ts'
16+
jobs:
17+
validate:
18+
runs-on: ubuntu-latest
19+
name: Disallow unsupported API versions
20+
steps:
21+
- name: Block API changes
22+
run: |
23+
echo "::error title=Unsupported API Version modified::Please make changes to current API versions only."
24+
exit 1

0 commit comments

Comments
 (0)