Skip to content

Commit

Permalink
ci: review workflow triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Aug 2, 2024
1 parent 31015d8 commit e96cc50
Show file tree
Hide file tree
Showing 24 changed files with 92 additions and 59 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/check-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@ name: Check Docs Site
on:
push:
branches:
- "**"
- main
paths:
- ".github/workflows/check-docs-site.yml"
- "docs/**"
- "packages/**"
pull_request:
paths:
- ".github/workflows/check-docs-site.yml"
- "docs/**"
- "packages/**"
workflow_dispatch:

concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/comment-on-linter-error.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types:
- opened
branches:
- $default-branch
- main

concurrency:
group: ${{github.workflow}}-${{github.ref}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: E2E tests
on:
push:
branches:
- "main"
- main
pull_request:
branches:
- "main"
- main

jobs:
run-e2e:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-chai-matchers-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ name: hardhat-chai-matchers CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-chai-matchers-ci.yml"
- "packages/hardhat-chai-matchers/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-chai-matchers-ci.yml"
- "packages/hardhat-chai-matchers/**"
- "packages/hardhat-common/**"
- "config/**"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/hardhat-core-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ on:
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-core-ci.yml"
- "config/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-ethers-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: hardhat-ethers CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-ethers-ci.yml"
- "packages/hardhat-ethers/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-ethers-ci.yml"
- "packages/hardhat-ethers/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-foundry-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ name: hardhat-foundry CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-foundry-ci.yml"
- "packages/hardhat-foundry/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-foundry-ci.yml"
- "packages/hardhat-foundry/**"
- "packages/hardhat-common/**"
- "config/**"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hardhat-ledger-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on:
branches:
- main
paths:
- ".github/workflows/hardhat-ledger-ci.yml"
- "packages/hardhat-ledger/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-foundry-ci.yml"
- "packages/hardhat-ledger/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-network-helpers-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: hardhat-network-helpers CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-network-helpers-ci.yml"
- "packages/hardhat-core/**"
- "packages/hardhat-network-helpers/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-network-helpers-ci.yml"
- "packages/hardhat-core/**"
- "packages/hardhat-network-helpers/**"
- "packages/hardhat-common/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-shorthand-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: hardhat-shorthand CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-shorthand-ci.yml"
- "packages/hardhat-shorthand/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-shorthand-ci.yml"
- "packages/hardhat-shorthand/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-solhint-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: hardhat-solhint CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-solhint-ci.yml"
- "packages/hardhat-solhint/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-solhint-ci.yml"
- "packages/hardhat-solhint/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-solpp-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: hardhat-solpp CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-solpp-ci.yml"
- "packages/hardhat-solpp/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-solpp-ci.yml"
- "packages/hardhat-solpp/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-toolbox-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: hardhat-toolbox CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-toolbox-ci.yml"
- "packages/hardhat-toolbox/**"
- "packages/hardhat-core/**"
- "packages/hardhat-chai-matchers/**"
Expand All @@ -13,9 +15,8 @@ on:
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-toolbox-ci.yml"
- "packages/hardhat-toolbox/**"
- "packages/hardhat-core/**"
- "packages/hardhat-chai-matchers/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-truffle4-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ name: hardhat-truffle4 CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-truffle4-ci.yml"
- "packages/hardhat-truffle4/**"
- "packages/hardhat-web3-legacy/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-truffle4-ci.yml"
- "packages/hardhat-truffle4/**"
- "packages/hardhat-web3-legacy/**"
- "packages/hardhat-core/**"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/hardhat-truffle5-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: hardhat-truffle5 CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- "packages/hardhat-truffle5/**"
- "packages/hardhat-web3/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-truffle5-ci.yml"
- "packages/hardhat-truffle5/**"
- "packages/hardhat-web3/**"
- "packages/hardhat-core/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-verify-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: hardhat-verify CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-verify-ci.yml"
- "packages/hardhat-verify/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-verify-ci.yml"
- "packages/hardhat-verify/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-viem-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: hardhat-viem CI

on:
push:
branches: main
branches:
- main
paths:
- ".github/workflows/hardhat-viem-ci.yml"
- "packages/hardhat-viem/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-verify-ci.yml"
- "packages/hardhat-viem/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-vyper-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: hardhat-vyper CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-vyper-ci.yml"
- "packages/hardhat-vyper/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-vyper-ci.yml"
- "packages/hardhat-vyper/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-web3-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: hardhat-web3 CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-web3-ci.yml"
- "packages/hardhat-web3/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-web3-ci.yml"
- "packages/hardhat-web3/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hardhat-web3-legacy-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: hardhat-web3-legacy CI

on:
push:
branches: [$default-branch]
branches:
- main
paths:
- ".github/workflows/hardhat-web3-legacy-ci.yml"
- "packages/hardhat-web3-legacy/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**/*"
- "config/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/hardhat-web3-legacy-ci.yml"
- "packages/hardhat-web3-legacy/**"
- "packages/hardhat-core/**"
- "packages/hardhat-common/**"
Expand Down
Loading

0 comments on commit e96cc50

Please sign in to comment.