Skip to content

Commit 5f16785

Browse files
committed
chore: Rename input variable
1 parent 6dadbe8 commit 5f16785

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/upgrade-facets.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
- arbitrumSepolia
1515
- arbitrum
1616
default: 'arbitrumSepolia'
17-
dry_run:
17+
dry-run:
1818
description: 'Dry Run (fork test only, no actual deployment)'
1919
required: false
2020
type: boolean
@@ -54,7 +54,7 @@ jobs:
5454
run: npm run build
5555

5656
- name: Run fork test (dry run)
57-
if: inputs.dry_run == true
57+
if: inputs.dry-run == true
5858
env:
5959
# Note: it is required to define both private key env variables when calling Hardhat.
6060
DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }}
@@ -69,7 +69,7 @@ jobs:
6969
npx hardhat run scripts/upgrades/${{ env.UPGRADE_SCRIPT }} --network hardhat
7070
7171
- name: Execute upgrade on live network
72-
if: inputs.dry_run == false
72+
if: inputs.dry-run == false
7373
env:
7474
# Note: it is required to define both private key env variables when calling Hardhat.
7575
DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }}
@@ -80,7 +80,7 @@ jobs:
8080
npx hardhat run scripts/upgrades/${{ env.UPGRADE_SCRIPT }} --network ${{ inputs.network }}
8181
8282
- name: Push artifacts to the current branch
83-
if: inputs.dry_run == false && github.ref != 'refs/heads/main'
83+
if: inputs.dry-run == false && github.ref != 'refs/heads/main'
8484
uses: stefanzweifel/git-auto-commit-action@v5
8585
with:
8686
file_pattern: |
@@ -92,7 +92,7 @@ jobs:
9292

9393
# Since the `main` branch is protected, create a PR to push artifacts.
9494
- name: Push artifacts through a pull request
95-
if: inputs.dry_run == false && github.ref == 'refs/heads/main'
95+
if: inputs.dry-run == false && github.ref == 'refs/heads/main'
9696
uses: peter-evans/create-pull-request@v7
9797
with:
9898
add-paths: |

0 commit comments

Comments
 (0)