.github/workflows/build.yml 🔗
@@ -1,5 +1,8 @@
name: build
-on: [push, pull_request]
+on:
+ push:
+ branches: [main]
+ pull_request:
permissions:
contents: read
Andrey Nering created
.github/workflows/build.yml | 5 ++++-
.github/workflows/lint.yml | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
@@ -1,5 +1,8 @@
name: build
-on: [push, pull_request]
+on:
+ push:
+ branches: [main]
+ pull_request:
permissions:
contents: read
@@ -1,6 +1,7 @@
name: lint
on:
push:
+ branches: [main]
pull_request:
jobs: