Skip to content

Commit f4927bd

Browse files
committed
Revert "avoid duplicated workflow invocations for pushes in PRs made from root repository branches (#5377)"
This reverts commit bf5e633.
1 parent 990963c commit f4927bd

16 files changed

+16
-128
lines changed

.github/workflows/CI-cygwin.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@
44

55
name: CI-cygwin
66

7-
on:
8-
push:
9-
branches:
10-
- 'main'
11-
- 'releases/**'
12-
tags:
13-
- '2.*'
14-
pull_request:
7+
on: [push,pull_request]
158

169
permissions:
1710
contents: read

.github/workflows/CI-mingw.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@
44

55
name: CI-mingw
66

7-
on:
8-
push:
9-
branches:
10-
- 'main'
11-
- 'releases/**'
12-
tags:
13-
- '2.*'
14-
pull_request:
7+
on: [push,pull_request]
158

169
permissions:
1710
contents: read

.github/workflows/CI-unixish-docker.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
33
name: CI-unixish-docker
44

5-
on:
6-
push:
7-
branches:
8-
- 'main'
9-
- 'releases/**'
10-
tags:
11-
- '2.*'
12-
pull_request:
5+
on: [push, pull_request]
136

147
permissions:
158
contents: read

.github/workflows/CI-unixish.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
33
name: CI-unixish
44

5-
on:
6-
push:
7-
branches:
8-
- 'main'
9-
- 'releases/**'
10-
tags:
11-
- '2.*'
12-
pull_request:
5+
on: [push, pull_request]
136

147
permissions:
158
contents: read

.github/workflows/CI-windows.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@
44

55
name: CI-windows
66

7-
on:
8-
push:
9-
branches:
10-
- 'main'
11-
- 'releases/**'
12-
tags:
13-
- '2.*'
14-
pull_request:
7+
on: [push,pull_request]
158

169
permissions:
1710
contents: read

.github/workflows/asan.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
33
name: address sanitizer
44

5-
on:
6-
push:
7-
branches:
8-
- 'main'
9-
- 'releases/**'
10-
tags:
11-
- '2.*'
12-
pull_request:
5+
on: [push, pull_request]
136

147
permissions:
158
contents: read

.github/workflows/buildman.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
name: Build manual
22

3-
on:
4-
push:
5-
branches:
6-
- 'main'
7-
- 'releases/**'
8-
tags:
9-
- '2.*'
10-
pull_request:
3+
on: [push, pull_request]
114

125
permissions:
136
contents: read

.github/workflows/clang-tidy.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
33
name: clang-tidy
44

5-
on:
6-
push:
7-
branches:
8-
- 'main'
9-
- 'releases/**'
10-
tags:
11-
- '2.*'
12-
pull_request:
5+
on: [push, pull_request]
136

147
permissions:
158
contents: read

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
name: "CodeQL"
22

3-
on:
4-
push:
5-
branches:
6-
- 'main'
7-
- 'releases/**'
8-
tags:
9-
- '2.*'
10-
pull_request:
3+
on: [push, pull_request]
114

125
permissions:
136
contents: read

.github/workflows/coverage.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
33
name: Coverage
44

5-
on:
6-
push:
7-
branches:
8-
- 'main'
9-
- 'releases/**'
10-
tags:
11-
- '2.*'
12-
pull_request:
5+
on: [push, pull_request]
136

147
permissions:
158
contents: read

0 commit comments

Comments
 (0)