Skip to content

main: minimalistic check for changes to versions and schemas folder #22

main: minimalistic check for changes to versions and schemas folder

main: minimalistic check for changes to versions and schemas folder #22

name: check-restricted-files
# Autor: @ralfhandl
# Issue: https://github.com/OAI/OpenAPI-Specification/issues/3432
# This workflow checks for changes of restricted files in a pull request
on:
pull_request:
paths:
- 'schemas/**/*.json'
- 'schemas/**/*.yaml'
- 'versions/*.md'
jobs:
check-files:
runs-on: ubuntu-latest
steps:
- name: Check changed files
shell: bash
run: |
echo This PR contains changes to files that should not be changed
exit 1