Skip to content

Commit 82dbc85

Browse files
committed
Build only when pushing on master or PR on it
1 parent 8fe2a5c commit 82dbc85

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-20.04.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ name: CI Build
55

66
on:
77
push:
8-
branches: '**'
8+
branches: [ "master" ]
99
tags: '**'
1010
pull_request:
11-
branches: '**'
11+
branches: [ "master" ]
1212

1313
jobs:
1414
build:

.github/workflows/build-24.04.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ name: CI Build
55

66
on:
77
push:
8-
branches: '**'
8+
branches: [ "master" ]
99
tags: '**'
1010
pull_request:
11-
branches: '**'
11+
branches: [ "master" ]
1212

1313
jobs:
1414
build:

0 commit comments

Comments
 (0)