Skip to content

Commit 413db75

Browse files
committed
Update macOS and Cygwin 5.1.x workflows to avoid double runs
1 parent b75ce21 commit 413db75

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/cygwin-51x.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Cygwin 5.1
22

3-
on: [push, pull_request, workflow_dispatch]
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
49

510
jobs:
611
build:

.github/workflows/macosx-51x.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: macOS 5.1
22

3-
on: [push, pull_request, workflow_dispatch]
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
49

510
jobs:
611
build:

0 commit comments

Comments
 (0)