ci(trigger): only build changes on main branch (#2)

- building all pull requests is a security vulnerability
This commit is contained in:
Iain Sproat
2023-08-05 20:20:02 +01:00
committed by GitHub
parent 589a12f3c0
commit 1406b23506
+1 -2
View File
@@ -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