Skip to content

Commit fd1cc45

Browse files
committed
ci: do not run workflows on both branch and pr
1 parent e466f53 commit fd1cc45

13 files changed

+65
-12
lines changed

.github/workflows/bsd.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: BSDs
2-
on: [push,pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37

48
concurrency:
59
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/builds.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Linux distro build
2-
on: [push,pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37

48
concurrency:
59
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/continuous.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Continuous build
2-
on: [push,pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37

48
concurrency:
59
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/debian-builds.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Debian build
2-
on: [push,pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37

48
concurrency:
59
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/docs.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
name: Documentation build
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
27

38
concurrency:
49
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/embedded.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Embedded build
2-
on: [push,pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37

48
concurrency:
59
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/flatpak.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Flatpak
2-
on: [push,pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37

48
concurrency:
59
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/mac-builds.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: macOS build
2-
on: [push,pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37

48
concurrency:
59
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/nix-builds.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Nix build
2-
on: [push,pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37

48
concurrency:
59
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/templates.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Template check
2-
on: [push,pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37

48
concurrency:
59
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/ubuntu-builds.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Ubuntu build
2-
on: [push,pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37

48
concurrency:
59
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/wasm.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: WASM
2-
on: [push,pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37

48
concurrency:
59
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/win-builds.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Windows build
2-
on: [push,pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
37

48
concurrency:
59
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

0 commit comments

Comments
 (0)