Skip to content

Commit 07d5b6d

Browse files
committed
avoid duplicate CI runs on branch push/PRs
1 parent fe05bcf commit 07d5b6d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
push:
88
tags-ignore:
99
- '*'
10-
branches:
11-
- '*'
10+
branches: ['main']
1211
pull_request:
12+
branches: ['main']
1313
workflow_call:
1414
workflow_dispatch:
1515
inputs:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
push:
88
tags-ignore:
99
- '*'
10-
branches:
11-
- '*'
10+
branches: ['main']
1211
pull_request:
12+
branches: ['main']
1313
workflow_call:
1414
workflow_dispatch:
1515
inputs:

0 commit comments

Comments
 (0)