Skip to content

Commit 74c1d53

Browse files
serprextheory
authored andcommitted
Do not run tests twice when PR submitted
Just run workflows on pushes to main or to any branch starting with "wip/". For the release workflow, also run when pushing a semantic version tag. Signed-off-by: David E. Wheeler <david.wheeler@clickhouse.com>
1 parent 7d5bc64 commit 74c1d53

4 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/clickhouse.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: 🏠 ClickHouse CI
22
on:
33
push:
4+
branches: [main, wip/**]
45
pull_request:
56
schedule:
67
- cron: "0 13 10 * *" # Monthly at 13:00 on the tenth

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: 🔎 Lint
22
on:
33
push:
4+
branches: [main, wip/**]
45
pull_request:
56
jobs:
67
lint:

.github/workflows/postgres.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: 🐘 Postgres CI
22
on:
33
push:
4+
branches: [main, wip/**]
45
pull_request:
56
schedule:
67
- cron: "0 12 10 * *" # Monthly at noon on the tenth

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: 🚀 Bundle & Release
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches: [main, wip/**]
5+
tags: ["v[0-9]+.[0-9]+.[0-9]+"]
6+
pull_request:
37
permissions:
48
contents: write
59
jobs:

0 commit comments

Comments
 (0)