From 1406b235063267353e3724918cccdc895d395331 Mon Sep 17 00:00:00 2001 From: Iain Sproat <68657+iainsproat@users.noreply.github.com> Date: Sat, 5 Aug 2023 20:20:02 +0100 Subject: [PATCH] ci(trigger): only build changes on main branch (#2) - building all pull requests is a security vulnerability --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9f18c5f..f94cb52 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,5 @@ name: 'build and deploy Speckle functions' -on: # rebuild any PRs and any branch changes - pull_request: +on: # rebuild any any `main` branch changes push: branches: - main