Skip to content

Commit 40aaee4

Browse files
committed
chore: Don't run pre-upgrade stage on dry-run
1 parent 3d38bf8 commit 40aaee4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/upgrade-facets.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ on:
2222

2323
jobs:
2424
pre-upgrade:
25+
if: inputs.dry-run == false
2526
uses: ./.github/workflows/main.yml
2627

2728
upgrade:
2829
needs: pre-upgrade
2930
runs-on: ubuntu-latest
30-
environment: ${{ inputs.network }} # Use the selected environment
31+
environment: ${{ inputs.network }}
3132
permissions:
3233
contents: write # Required to commit artifacts.
3334
pull-requests: write # Required to create pull requests.
3435
env:
3536
UPGRADE_SCRIPT: 'v6.1.0-bulk-processing.ts' # Update this for each specific upgrade.
36-
# For commit action
3737
COMMIT_MESSAGE: 'chore: Save upgrade artifacts - ${{ inputs.network }} (runId:${{ github.run_id }})'
3838
GHA_BOT_NAME: 'GitHub Actions Bot'
3939
GHA_BOT_EMAIL: 'github-actions[bot]@users.noreply.github.com'

0 commit comments

Comments
 (0)