File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 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
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 }}
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 }}
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 : |
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 : |
You can’t perform that action at this time.
0 commit comments