Skip to content

Commit 004163a

Browse files
authored
[9.x] Prevent workflows from running twice (#44053)
* Prevent workflows from running twice * Dont schedule static analysis workflow
1 parent f53be1f commit 004163a

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.github/workflows/databases.yml

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

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- '*.x'
8+
pull_request:
49

510
jobs:
611
mysql_57:

.github/workflows/static-analysis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ name: static analysis
22

33
on:
44
push:
5+
branches:
6+
- master
7+
- '*.x'
58
pull_request:
6-
schedule:
7-
- cron: '0 0 * * *'
89

910
jobs:
1011
src:

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: tests
22

33
on:
44
push:
5+
branches:
6+
- master
7+
- '*.x'
58
pull_request:
69
schedule:
710
- cron: '0 0 * * *'

0 commit comments

Comments
 (0)