Skip to content

Commit 53b9420

Browse files
authored
chore: Run CI only on pull_request and pushes to main (#255)
1 parent 214fde1 commit 53b9420

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/esy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Esy
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches: [main]
5+
pull_request:
56

67
# This will cancel previous runs when a branch or PR is updated
78
concurrency:

.github/workflows/opam.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Opam
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches: [main]
5+
pull_request:
56

67
# This will cancel previous runs when a branch or PR is updated
78
concurrency:
@@ -24,7 +25,7 @@ jobs:
2425
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2526
with:
2627
submodules: "recursive"
27-
28+
2829
- name: Setup node.js
2930
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
3031
with:

0 commit comments

Comments
 (0)