From b5fa1e8221ac8c60f173a3cd7b88c38c64e44ee7 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Sat, 23 Sep 2023 22:38:12 +0100 Subject: [PATCH] ci: disallow changes to these directories --- .github/workflows/supported-versions-only.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/supported-versions-only.yml diff --git a/.github/workflows/supported-versions-only.yml b/.github/workflows/supported-versions-only.yml new file mode 100644 index 000000000..25a210752 --- /dev/null +++ b/.github/workflows/supported-versions-only.yml @@ -0,0 +1,12 @@ +name: Validate only supported API version changes +on: + push: + paths: + - rest/v9 + - rest/v8 +jobs: + validate: + name: Validate that these files are untouched + runs-on: ubuntu-latest + steps: + - run: exit 1