From c6af84fdee7df3388027789abc80f8f59d817b0e Mon Sep 17 00:00:00 2001 From: Franco Victorio Date: Mon, 12 Sep 2022 13:21:41 +0200 Subject: [PATCH 1/2] Use $default-branch instead of master --- .github/workflows/comment-on-linter-error.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/comment-on-linter-error.yml b/.github/workflows/comment-on-linter-error.yml index 6b62a3d520..5b281a58b9 100644 --- a/.github/workflows/comment-on-linter-error.yml +++ b/.github/workflows/comment-on-linter-error.yml @@ -5,7 +5,7 @@ on: types: - opened branches: - - master + - $default-branch concurrency: group: ${{github.workflow}}-${{github.ref}} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27ecfd4118..be47354cb8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: push: branches: - - master + - $default-branch jobs: release: From 4ffdccc7995a818a8aa1a88e87495e6a2f7ac370 Mon Sep 17 00:00:00 2001 From: Franco Victorio Date: Mon, 12 Sep 2022 13:23:10 +0200 Subject: [PATCH 2/2] Use ** for branches instead of * --- .github/workflows/e2e-ci.yml | 2 +- .github/workflows/hardhat-chai-matchers-ci.yml | 2 +- .github/workflows/hardhat-core-ci.yml | 2 +- .github/workflows/hardhat-ethers-ci.yml | 2 +- .github/workflows/hardhat-etherscan-ci.yml | 2 +- .github/workflows/hardhat-ganache-ci.yml | 2 +- .github/workflows/hardhat-network-forking-ci.yml | 2 +- .github/workflows/hardhat-network-helpers-ci.yml | 2 +- .github/workflows/hardhat-network-tracing-ci.yml | 2 +- .github/workflows/hardhat-shorthand-ci.yml | 2 +- .github/workflows/hardhat-solhint-ci.yml | 2 +- .github/workflows/hardhat-solpp-ci.yml | 2 +- .github/workflows/hardhat-toolbox-ci.yml | 2 +- .github/workflows/hardhat-truffle4-ci.yml | 2 +- .github/workflows/hardhat-truffle5-ci.yml | 2 +- .github/workflows/hardhat-vyper-ci.yml | 2 +- .github/workflows/hardhat-waffle-ci.yml | 2 +- .github/workflows/hardhat-web3-ci.yml | 2 +- .github/workflows/hardhat-web3-legacy-ci.yml | 2 +- .github/workflows/lint.yml | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/e2e-ci.yml b/.github/workflows/e2e-ci.yml index 054cacb778..7ef9d0fc0c 100644 --- a/.github/workflows/e2e-ci.yml +++ b/.github/workflows/e2e-ci.yml @@ -10,7 +10,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/e2e/**" - "packages/hardhat-core/**" diff --git a/.github/workflows/hardhat-chai-matchers-ci.yml b/.github/workflows/hardhat-chai-matchers-ci.yml index 7b7fa98efc..35e720e80a 100644 --- a/.github/workflows/hardhat-chai-matchers-ci.yml +++ b/.github/workflows/hardhat-chai-matchers-ci.yml @@ -9,7 +9,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-chai-matchers/**" - "packages/hardhat-common/**" diff --git a/.github/workflows/hardhat-core-ci.yml b/.github/workflows/hardhat-core-ci.yml index fa62562036..75a5c3ef26 100644 --- a/.github/workflows/hardhat-core-ci.yml +++ b/.github/workflows/hardhat-core-ci.yml @@ -9,7 +9,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-core/**" - "packages/hardhat-common/**" diff --git a/.github/workflows/hardhat-ethers-ci.yml b/.github/workflows/hardhat-ethers-ci.yml index 2e0b8d9b6e..457743ec24 100644 --- a/.github/workflows/hardhat-ethers-ci.yml +++ b/.github/workflows/hardhat-ethers-ci.yml @@ -10,7 +10,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-ethers/**" - "packages/hardhat-core/**" diff --git a/.github/workflows/hardhat-etherscan-ci.yml b/.github/workflows/hardhat-etherscan-ci.yml index 1a83cf3362..b97a30aa77 100644 --- a/.github/workflows/hardhat-etherscan-ci.yml +++ b/.github/workflows/hardhat-etherscan-ci.yml @@ -10,7 +10,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-etherscan/**" - "packages/hardhat-core/**" diff --git a/.github/workflows/hardhat-ganache-ci.yml b/.github/workflows/hardhat-ganache-ci.yml index 4cabe18398..147d47629a 100644 --- a/.github/workflows/hardhat-ganache-ci.yml +++ b/.github/workflows/hardhat-ganache-ci.yml @@ -10,7 +10,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-ganache/**" - "packages/hardhat-core/**" diff --git a/.github/workflows/hardhat-network-forking-ci.yml b/.github/workflows/hardhat-network-forking-ci.yml index 09a5b84d27..6b6b96064b 100644 --- a/.github/workflows/hardhat-network-forking-ci.yml +++ b/.github/workflows/hardhat-network-forking-ci.yml @@ -9,7 +9,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-core/**" - "packages/hardhat-common/**" diff --git a/.github/workflows/hardhat-network-helpers-ci.yml b/.github/workflows/hardhat-network-helpers-ci.yml index a8b078ac5e..c2bc454b93 100644 --- a/.github/workflows/hardhat-network-helpers-ci.yml +++ b/.github/workflows/hardhat-network-helpers-ci.yml @@ -9,7 +9,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-network-helpers/**" - "packages/hardhat-common/**" diff --git a/.github/workflows/hardhat-network-tracing-ci.yml b/.github/workflows/hardhat-network-tracing-ci.yml index f5a386c202..d9e922f45e 100644 --- a/.github/workflows/hardhat-network-tracing-ci.yml +++ b/.github/workflows/hardhat-network-tracing-ci.yml @@ -9,7 +9,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-core/**" - "packages/hardhat-common/**" diff --git a/.github/workflows/hardhat-shorthand-ci.yml b/.github/workflows/hardhat-shorthand-ci.yml index ee22170ac6..f07472ab0a 100644 --- a/.github/workflows/hardhat-shorthand-ci.yml +++ b/.github/workflows/hardhat-shorthand-ci.yml @@ -10,7 +10,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-shorthand/**" - "packages/hardhat-core/**" diff --git a/.github/workflows/hardhat-solhint-ci.yml b/.github/workflows/hardhat-solhint-ci.yml index 0e0e49ddc1..b548aae14e 100644 --- a/.github/workflows/hardhat-solhint-ci.yml +++ b/.github/workflows/hardhat-solhint-ci.yml @@ -10,7 +10,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-solhint/**" - "packages/hardhat-core/**" diff --git a/.github/workflows/hardhat-solpp-ci.yml b/.github/workflows/hardhat-solpp-ci.yml index d812e13467..ac5f545700 100644 --- a/.github/workflows/hardhat-solpp-ci.yml +++ b/.github/workflows/hardhat-solpp-ci.yml @@ -10,7 +10,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-solpp/**" - "packages/hardhat-core/**" diff --git a/.github/workflows/hardhat-toolbox-ci.yml b/.github/workflows/hardhat-toolbox-ci.yml index e63c9e2783..d10cddefc0 100644 --- a/.github/workflows/hardhat-toolbox-ci.yml +++ b/.github/workflows/hardhat-toolbox-ci.yml @@ -14,7 +14,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-toolbox/**" - "packages/hardhat-core/**" diff --git a/.github/workflows/hardhat-truffle4-ci.yml b/.github/workflows/hardhat-truffle4-ci.yml index 761d9c611e..46b7d5d003 100644 --- a/.github/workflows/hardhat-truffle4-ci.yml +++ b/.github/workflows/hardhat-truffle4-ci.yml @@ -11,7 +11,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-truffle4/**" - "packages/hardhat-web3-legacy/**" diff --git a/.github/workflows/hardhat-truffle5-ci.yml b/.github/workflows/hardhat-truffle5-ci.yml index a80aacc1e3..70e873cc04 100644 --- a/.github/workflows/hardhat-truffle5-ci.yml +++ b/.github/workflows/hardhat-truffle5-ci.yml @@ -11,7 +11,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-truffle5/**" - "packages/hardhat-web3/**" diff --git a/.github/workflows/hardhat-vyper-ci.yml b/.github/workflows/hardhat-vyper-ci.yml index 9e954c26c1..528e027713 100644 --- a/.github/workflows/hardhat-vyper-ci.yml +++ b/.github/workflows/hardhat-vyper-ci.yml @@ -10,7 +10,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-vyper/**" - "packages/hardhat-core/**" diff --git a/.github/workflows/hardhat-waffle-ci.yml b/.github/workflows/hardhat-waffle-ci.yml index 59f4a0cf8d..b8db4e000b 100644 --- a/.github/workflows/hardhat-waffle-ci.yml +++ b/.github/workflows/hardhat-waffle-ci.yml @@ -11,7 +11,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-waffle/**" - "packages/hardhat-ethers/**" diff --git a/.github/workflows/hardhat-web3-ci.yml b/.github/workflows/hardhat-web3-ci.yml index f11cbbe4ab..33a8ead269 100644 --- a/.github/workflows/hardhat-web3-ci.yml +++ b/.github/workflows/hardhat-web3-ci.yml @@ -10,7 +10,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-web3/**" - "packages/hardhat-core/**" diff --git a/.github/workflows/hardhat-web3-legacy-ci.yml b/.github/workflows/hardhat-web3-legacy-ci.yml index 120b47a696..221110aa34 100644 --- a/.github/workflows/hardhat-web3-legacy-ci.yml +++ b/.github/workflows/hardhat-web3-legacy-ci.yml @@ -10,7 +10,7 @@ on: - "config/**" pull_request: branches: - - "*" + - "**" paths: - "packages/hardhat-web3-legacy/**" - "packages/hardhat-core/**" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0fdf835815..2c37c9bb8a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,7 +5,7 @@ on: branches: [$default-branch] pull_request: branches: - - "*" + - "**" concurrency: group: ${{github.workflow}}-${{github.ref}}