From f3a2aa987b801efca852865f468b854a79574005 Mon Sep 17 00:00:00 2001 From: bd_ Date: Sat, 25 Mar 2023 14:38:22 +0900 Subject: [PATCH] chore: only run GameCI on unity-related changes --- .github/workflows/gameci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gameci.yml b/.github/workflows/gameci.yml index 6f3cbebd..60526ee8 100644 --- a/.github/workflows/gameci.yml +++ b/.github/workflows/gameci.yml @@ -30,7 +30,12 @@ on: # This is a bit of a radioactive event; we need to be very careful with what permissions # we assign this action, as we're allowing arbitrary code execution with the context of # whatever permissions we assign. - pull_request_target: {} + pull_request_target: + paths: + - 'Packages/**' + - 'Assets/**' + - 'ProjectSettings/**' + - '.github/workflows/gameci.yml' workflow_dispatch: {} # pull_request_target grants access to a privileged GITHUB_TOKEN by default, revoke this