Skip to content

Commit

Permalink
on pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
RCantu92 committed Dec 6, 2023
1 parent 2a46ee5 commit 71d7405
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Release

on:
push:
pull_request:
branches:
- 'master'
- 'release/**'
Expand All @@ -14,7 +14,7 @@ defaults:
jobs:
build:
name: Build release
# if: startsWith(github.head_ref, 'release/')
if: startsWith(github.head_ref, 'release/')
runs-on: ubuntu-22.04
timeout-minutes: 10
env:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:

prepare:
name: Prepare release
# if: startsWith(github.head_ref, 'release/')
if: startsWith(github.head_ref, 'release/')
runs-on: ubuntu-22.04
# needs: coverage
needs: build
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:

deploy:
name: Deploy contracts
# if: startsWith(github.head_ref, 'release/')
if: startsWith(github.head_ref, 'release/')
runs-on: ubuntu-22.04
timeout-minutes: 20
needs: prepare
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:

finish-release:
name: Finish release
# if: "startsWith(github.head_ref, 'release/')"
if: "startsWith(github.head_ref, 'release/')"
runs-on: ubuntu-22.04
timeout-minutes: 20
environment: production
Expand Down
2 changes: 1 addition & 1 deletion releases/1.2.10/index.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
title: Release
network: mumbai
network: polygon
deploy: prepare-upgrade 1.2.10
verify: verify-deployed
finish: propose-admin
Expand Down

0 comments on commit 71d7405

Please sign in to comment.