Skip to content

Commit cfe59f0

Browse files
committed
Update opam workflow to avoid double runs
1 parent 413db75 commit cfe59f0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/opam.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ concurrency:
44
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
55
cancel-in-progress: true
66

7-
on: [push, pull_request, workflow_dispatch]
7+
on:
8+
pull_request:
9+
push:
10+
branches:
11+
- main
12+
workflow_dispatch:
813

914
jobs:
1015
build-and-test:

0 commit comments

Comments
 (0)