Skip to content

Commit 7b12589

Browse files
committed
ci: review workflow triggers
1 parent bb70cd7 commit 7b12589

20 files changed

+70
-45
lines changed

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

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

.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

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

119
jobs:
1210
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-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-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-v4-ci.yml

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

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

.github/workflows/lint.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ name: Lint
22

33
on:
44
push:
5-
branches: [main]
6-
pull_request:
75
branches:
8-
- "**"
6+
- main
7+
paths:
8+
- ".github/workflows/lint.yml"
9+
- "docs/**"
10+
- "packages/**"
11+
pull_request:
912
paths:
13+
- ".github/workflows/lint.yml"
1014
- "docs/**"
1115
- "packages/**"
1216
workflow_dispatch:

.github/workflows/review-approved-slack-notification.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: PR reviewed Slack notification
2+
23
on:
34
pull_request_review:
45
types: [submitted]
6+
57
jobs:
68
reviewed:
79
uses: NomicFoundation/github-actions-workflows/.github/workflows/review-submitted-slack-notification.yml@main

.github/workflows/review-requested-slack-notification.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: PR review requested Slack notification
2+
23
on:
34
pull_request_target:
45
types: [review_requested]
6+
57
jobs:
68
requested:
79
uses: NomicFoundation/github-actions-workflows/.github/workflows/review-requested-slack-notification.yml@main

.github/workflows/v-next-changesets-release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Changesets
2+
23
on:
34
push:
45
branches:

.github/workflows/v-next-ci.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ name: vNext CI
22

33
on:
44
push:
5-
branches: v-next
6-
pull_request:
75
branches:
8-
- "**"
6+
- v-next
7+
paths:
8+
- ".github/workflows/v-next-ci.yml"
9+
- "v-next/**"
10+
- "config-v-next/**"
11+
pull_request:
912
paths:
13+
- ".github/workflows/v-next-ci.yml"
1014
- "v-next/**"
1115
- "config-v-next/**"
1216
workflow_dispatch:

0 commit comments

Comments
 (0)