Skip to content

Commit e96cc50

Browse files
committed
ci: review workflow triggers
1 parent 31015d8 commit e96cc50

24 files changed

+92
-59
lines changed

.github/workflows/check-docs-site.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@ name: Check Docs Site
33
on:
44
push:
55
branches:
6-
- "**"
6+
- main
7+
paths:
8+
- ".github/workflows/check-docs-site.yml"
9+
- "docs/**"
10+
- "packages/**"
11+
pull_request:
12+
paths:
13+
- ".github/workflows/check-docs-site.yml"
14+
- "docs/**"
15+
- "packages/**"
716
workflow_dispatch:
817

918
concurrency:

.github/workflows/comment-on-linter-error.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types:
66
- opened
77
branches:
8-
- $default-branch
8+
- main
99

1010
concurrency:
1111
group: ${{github.workflow}}-${{github.ref}}

.github/workflows/e2e-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: E2E tests
33
on:
44
push:
55
branches:
6-
- "main"
6+
- main
77
pull_request:
88
branches:
9-
- "main"
9+
- main
1010

1111
jobs:
1212
run-e2e:

.github/workflows/hardhat-chai-matchers-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@ name: hardhat-chai-matchers CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-chai-matchers-ci.yml"
79
- "packages/hardhat-chai-matchers/**"
810
- "packages/hardhat-common/**"
911
- "config/**"
1012
pull_request:
11-
branches:
12-
- "**"
1313
paths:
14+
- ".github/workflows/hardhat-chai-matchers-ci.yml"
1415
- "packages/hardhat-chai-matchers/**"
1516
- "packages/hardhat-common/**"
1617
- "config/**"

.github/workflows/hardhat-core-ci.yml

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ on:
1212
- "packages/hardhat-core/**"
1313
- "packages/hardhat-common/**"
1414
pull_request:
15-
branches:
16-
- "**"
1715
paths:
1816
- ".github/workflows/hardhat-core-ci.yml"
1917
- "config/**"

.github/workflows/hardhat-ethers-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: hardhat-ethers CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-ethers-ci.yml"
79
- "packages/hardhat-ethers/**"
810
- "packages/hardhat-core/**"
911
- "packages/hardhat-common/**"
1012
- "config/**"
1113
pull_request:
12-
branches:
13-
- "**"
1414
paths:
15+
- ".github/workflows/hardhat-ethers-ci.yml"
1516
- "packages/hardhat-ethers/**"
1617
- "packages/hardhat-core/**"
1718
- "packages/hardhat-common/**"

.github/workflows/hardhat-foundry-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@ name: hardhat-foundry CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-foundry-ci.yml"
79
- "packages/hardhat-foundry/**"
810
- "packages/hardhat-common/**"
911
- "config/**"
1012
pull_request:
11-
branches:
12-
- "**"
1313
paths:
14+
- ".github/workflows/hardhat-foundry-ci.yml"
1415
- "packages/hardhat-foundry/**"
1516
- "packages/hardhat-common/**"
1617
- "config/**"

.github/workflows/hardhat-ledger-ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ on:
55
branches:
66
- main
77
paths:
8+
- ".github/workflows/hardhat-ledger-ci.yml"
89
- "packages/hardhat-ledger/**"
910
- "packages/hardhat-core/**"
1011
- "packages/hardhat-common/**"
1112
- "config/**"
1213
pull_request:
13-
branches:
14-
- "**"
1514
paths:
15+
- ".github/workflows/hardhat-foundry-ci.yml"
1616
- "packages/hardhat-ledger/**"
1717
- "packages/hardhat-core/**"
1818
- "packages/hardhat-common/**"

.github/workflows/hardhat-network-helpers-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: hardhat-network-helpers CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-network-helpers-ci.yml"
79
- "packages/hardhat-core/**"
810
- "packages/hardhat-network-helpers/**"
911
- "packages/hardhat-common/**"
1012
- "config/**"
1113
pull_request:
12-
branches:
13-
- "**"
1414
paths:
15+
- ".github/workflows/hardhat-network-helpers-ci.yml"
1516
- "packages/hardhat-core/**"
1617
- "packages/hardhat-network-helpers/**"
1718
- "packages/hardhat-common/**"

.github/workflows/hardhat-shorthand-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: hardhat-shorthand CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-shorthand-ci.yml"
79
- "packages/hardhat-shorthand/**"
810
- "packages/hardhat-core/**"
911
- "packages/hardhat-common/**"
1012
- "config/**"
1113
pull_request:
12-
branches:
13-
- "**"
1414
paths:
15+
- ".github/workflows/hardhat-shorthand-ci.yml"
1516
- "packages/hardhat-shorthand/**"
1617
- "packages/hardhat-core/**"
1718
- "packages/hardhat-common/**"

.github/workflows/hardhat-solhint-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: hardhat-solhint CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-solhint-ci.yml"
79
- "packages/hardhat-solhint/**"
810
- "packages/hardhat-core/**"
911
- "packages/hardhat-common/**"
1012
- "config/**"
1113
pull_request:
12-
branches:
13-
- "**"
1414
paths:
15+
- ".github/workflows/hardhat-solhint-ci.yml"
1516
- "packages/hardhat-solhint/**"
1617
- "packages/hardhat-core/**"
1718
- "packages/hardhat-common/**"

.github/workflows/hardhat-solpp-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: hardhat-solpp CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-solpp-ci.yml"
79
- "packages/hardhat-solpp/**"
810
- "packages/hardhat-core/**"
911
- "packages/hardhat-common/**"
1012
- "config/**"
1113
pull_request:
12-
branches:
13-
- "**"
1414
paths:
15+
- ".github/workflows/hardhat-solpp-ci.yml"
1516
- "packages/hardhat-solpp/**"
1617
- "packages/hardhat-core/**"
1718
- "packages/hardhat-common/**"

.github/workflows/hardhat-toolbox-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: hardhat-toolbox CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-toolbox-ci.yml"
79
- "packages/hardhat-toolbox/**"
810
- "packages/hardhat-core/**"
911
- "packages/hardhat-chai-matchers/**"
@@ -13,9 +15,8 @@ on:
1315
- "packages/hardhat-common/**"
1416
- "config/**"
1517
pull_request:
16-
branches:
17-
- "**"
1818
paths:
19+
- ".github/workflows/hardhat-toolbox-ci.yml"
1920
- "packages/hardhat-toolbox/**"
2021
- "packages/hardhat-core/**"
2122
- "packages/hardhat-chai-matchers/**"

.github/workflows/hardhat-truffle4-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ name: hardhat-truffle4 CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-truffle4-ci.yml"
79
- "packages/hardhat-truffle4/**"
810
- "packages/hardhat-web3-legacy/**"
911
- "packages/hardhat-core/**"
1012
- "packages/hardhat-common/**"
1113
- "config/**"
1214
pull_request:
13-
branches:
14-
- "**"
1515
paths:
16+
- ".github/workflows/hardhat-truffle4-ci.yml"
1617
- "packages/hardhat-truffle4/**"
1718
- "packages/hardhat-web3-legacy/**"
1819
- "packages/hardhat-core/**"

.github/workflows/hardhat-truffle5-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ name: hardhat-truffle5 CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
78
- "packages/hardhat-truffle5/**"
89
- "packages/hardhat-web3/**"
910
- "packages/hardhat-core/**"
1011
- "packages/hardhat-common/**"
1112
- "config/**"
1213
pull_request:
13-
branches:
14-
- "**"
1514
paths:
15+
- ".github/workflows/hardhat-truffle5-ci.yml"
1616
- "packages/hardhat-truffle5/**"
1717
- "packages/hardhat-web3/**"
1818
- "packages/hardhat-core/**"

.github/workflows/hardhat-verify-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: hardhat-verify CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-verify-ci.yml"
79
- "packages/hardhat-verify/**"
810
- "packages/hardhat-core/**"
911
- "packages/hardhat-common/**"
1012
- "config/**"
1113
pull_request:
12-
branches:
13-
- "**"
1414
paths:
15+
- ".github/workflows/hardhat-verify-ci.yml"
1516
- "packages/hardhat-verify/**"
1617
- "packages/hardhat-core/**"
1718
- "packages/hardhat-common/**"

.github/workflows/hardhat-viem-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: hardhat-viem CI
22

33
on:
44
push:
5-
branches: main
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-viem-ci.yml"
79
- "packages/hardhat-viem/**"
810
- "packages/hardhat-core/**"
911
- "packages/hardhat-common/**"
1012
- "config/**"
1113
pull_request:
12-
branches:
13-
- "**"
1414
paths:
15+
- ".github/workflows/hardhat-verify-ci.yml"
1516
- "packages/hardhat-viem/**"
1617
- "packages/hardhat-core/**"
1718
- "packages/hardhat-common/**"

.github/workflows/hardhat-vyper-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: hardhat-vyper CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-vyper-ci.yml"
79
- "packages/hardhat-vyper/**"
810
- "packages/hardhat-core/**"
911
- "packages/hardhat-common/**"
1012
- "config/**"
1113
pull_request:
12-
branches:
13-
- "**"
1414
paths:
15+
- ".github/workflows/hardhat-vyper-ci.yml"
1516
- "packages/hardhat-vyper/**"
1617
- "packages/hardhat-core/**"
1718
- "packages/hardhat-common/**"

.github/workflows/hardhat-web3-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: hardhat-web3 CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-web3-ci.yml"
79
- "packages/hardhat-web3/**"
810
- "packages/hardhat-core/**"
911
- "packages/hardhat-common/**"
1012
- "config/**"
1113
pull_request:
12-
branches:
13-
- "**"
1414
paths:
15+
- ".github/workflows/hardhat-web3-ci.yml"
1516
- "packages/hardhat-web3/**"
1617
- "packages/hardhat-core/**"
1718
- "packages/hardhat-common/**"

.github/workflows/hardhat-web3-legacy-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: hardhat-web3-legacy CI
22

33
on:
44
push:
5-
branches: [$default-branch]
5+
branches:
6+
- main
67
paths:
8+
- ".github/workflows/hardhat-web3-legacy-ci.yml"
79
- "packages/hardhat-web3-legacy/**"
810
- "packages/hardhat-core/**"
911
- "packages/hardhat-common/**/*"
1012
- "config/**"
1113
pull_request:
12-
branches:
13-
- "**"
1414
paths:
15+
- ".github/workflows/hardhat-web3-legacy-ci.yml"
1516
- "packages/hardhat-web3-legacy/**"
1617
- "packages/hardhat-core/**"
1718
- "packages/hardhat-common/**"

0 commit comments

Comments
 (0)