From e0ed34cdda17667157500c93145d23d62ca4dea2 Mon Sep 17 00:00:00 2001 From: Hans5958 Date: Tue, 5 Apr 2022 22:51:40 +0700 Subject: [PATCH] Only run CI when necessary CI will be triggered when web/atlas.json is edited Name change also because clarity and why not eh --- .../workflows/{github-actions.yml => validate-json.yml} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename .github/workflows/{github-actions.yml => validate-json.yml} (79%) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/validate-json.yml similarity index 79% rename from .github/workflows/github-actions.yml rename to .github/workflows/validate-json.yml index 9928c584..55331c5c 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/validate-json.yml @@ -1,5 +1,11 @@ name: Validate JSON -on: [push, pull_request] +on: + push: + paths: + - web/atlas.json + pull_request: + paths: + - web/atlas.json jobs: Validate-JSON: runs-on: ubuntu-latest