.github/workflows/build.yml 🔗
@@ -1,5 +1,8 @@
name: build
-on: [push, pull_request]
+on:
+ push:
+ branches: [main]
+ pull_request:
jobs:
build:
Andrey Nering created
.github/workflows/build.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
@@ -1,5 +1,8 @@
name: build
-on: [push, pull_request]
+on:
+ push:
+ branches: [main]
+ pull_request:
jobs:
build: