Skip to content

Commit

Permalink
Update opam workflow to avoid double runs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmid committed Jan 3, 2024
1 parent 413db75 commit 4c437bc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/opam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build-and-test:
Expand Down

0 comments on commit 4c437bc

Please sign in to comment.