Skip to content

Commit ab29438

Browse files
authored
chore: Enable CI for pull requests (sqlc-dev#20)
* chore: Enable CI for pull requests * Prevent duplicate builds
1 parent b79c5fa commit ab29438

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: ci
2-
on: [push]
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
37
jobs:
48
build:
59
runs-on: ubuntu-latest

.github/workflows/examples.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: examples
2-
on: [push]
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
37
jobs:
48
bun-mysql:
59
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)