We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 428007d + a963ad6 commit 249dcefCopy full SHA for 249dcef
.github/workflows/check-restricted-files.yaml
@@ -0,0 +1,22 @@
1
+name: check-restricted-files
2
+
3
+# Author: @ralfhandl
4
+# Issue: https://github.com/OAI/OpenAPI-Specification/issues/3432
5
6
+# This workflow fails if restricted files are changed in a pull request
7
8
+on:
9
+ pull_request:
10
+ paths:
11
+ - 'schemas/**/*.yaml'
12
+ - 'versions/*.md'
13
14
+jobs:
15
+ check-files:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Check changed files
19
+ shell: bash
20
+ run: |
21
+ echo This PR contains changes to files that should not be changed
22
+ exit 1
0 commit comments