Skip to content

Commit 5b036a8

Browse files
committed
squash: use $default-branch macro rather than hardcoded main
1 parent 2f6d8ee commit 5b036a8

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

.github/workflows/build-tarball.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- '!.github/workflows/build-tarball.yml'
1313
push:
1414
branches:
15-
- main
15+
- $default-branch
1616
- v[0-9]+.x-staging
1717
- v[0-9]+.x
1818
paths-ignore:

.github/workflows/build-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
types: [opened, synchronize, reopened, ready_for_review]
1010
push:
1111
branches:
12-
- main
12+
- $default-branch
1313
- canary
1414
- v[0-9]+.x-staging
1515
- v[0-9]+.x

.github/workflows/coverage-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- '!.github/workflows/coverage-linux.yml'
1313
push:
1414
branches:
15-
- main
15+
- $default-branch
1616
paths-ignore:
1717
- '**.md'
1818
- benchmark/**

.github/workflows/coverage-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- '!.github/workflows/coverage-windows.yml'
1414
push:
1515
branches:
16-
- main
16+
- $default-branch
1717
paths-ignore:
1818
- '**.md'
1919
- benchmark/**

.github/workflows/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [opened, synchronize, reopened, ready_for_review]
66
push:
77
branches:
8-
- main
8+
- $default-branch
99
- v[0-9]+.x-staging
1010
- v[0-9]+.x
1111

.github/workflows/linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [opened, synchronize, reopened, ready_for_review]
66
push:
77
branches:
8-
- main
8+
- $default-branch
99
- v[0-9]+.x-staging
1010
- v[0-9]+.x
1111

.github/workflows/notify-force-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
branches:
4-
- main
4+
- $default-branch
55

66
name: Notify on Force Push
77
jobs:

.github/workflows/test-asan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- '!.github/workflows/test-asan.yml'
1313
push:
1414
branches:
15-
- main
15+
- $default-branch
1616
- canary
1717
- v[0-9]+.x-staging
1818
- v[0-9]+.x

.github/workflows/test-internet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
paths: [test/internet/**]
1111
push:
1212
branches:
13-
- main
13+
- $default-branch
1414
- canary
1515
- v[0-9]+.x-staging
1616
- v[0-9]+.x

.github/workflows/test-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
types: [opened, synchronize, reopened, ready_for_review]
1010
push:
1111
branches:
12-
- main
12+
- $default-branch
1313
- canary
1414
- v[0-9]+.x-staging
1515
- v[0-9]+.x

0 commit comments

Comments
 (0)