on main help sign in
ci: only run `build` and `lint` workflows once in pull requests
commit52dcef66a035fd5321b6c415d9d005089b67c7ba authorAndrey Nering <andreynering@users.noreply.github.com> dateThu 16 Apr 2026, 17:52 (6 months ago) parent8bab8b3
2 files changed+5−1
.github/workflows/build.yml+4−1 .github/workflows/lint.yml+1
.github/workflows/build.yml+4−1
@@ -1,5 +1,8 @@
11name: build
2−on: [push, pull_request]
2+on:
3+ push:
4+ branches: [main]
5+ pull_request:
36
47permissions:
58 contents: read
.github/workflows/lint.yml+1
@@ -1,6 +1,7 @@
11name: lint
22on:
33 push:
4+ branches: [main]
45 pull_request:
56
67jobs: