From 55b6f1bf60fba98adf6aeb030ac4bdf84d4ad39f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nico=20Wehm=C3=B6ller?= Date: Wed, 25 Sep 2024 12:01:29 +0200 Subject: [PATCH] Restrict action runs to pull requests that include changes to projects. --- .github/workflows/merged.yml | 3 +++ .github/workflows/validate.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/merged.yml b/.github/workflows/merged.yml index c3bc64e..febdeef 100644 --- a/.github/workflows/merged.yml +++ b/.github/workflows/merged.yml @@ -4,6 +4,9 @@ on: pull_request_target: types: [ closed ] branches: [ master ] + paths: + - 'projects/*/data.json' + - 'projects/*/logo.png' permissions: contents: write diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index ebc95e5..f0b6843 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -3,6 +3,9 @@ name: Ronin Ecosystem Validator on: pull_request_target: branches: [master] + paths: + - 'projects/*/data.json' + - 'projects/*/logo.png' permissions: contents: write