Skip to content

Commit

Permalink
ci: skip deployments on non release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Jan 15, 2025
1 parent aeae3d4 commit d6dbb39
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ jobs:
release-cross-chain-governance:
runs-on: ubuntu-20.04
needs: [unit-test, lint]
if:
contains('
refs/heads/main
refs/heads/testnet
', github.ref)
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -182,6 +187,11 @@ jobs:
release-etherfi-promo:
runs-on: ubuntu-20.04
needs: [unit-test, lint, release-cross-chain-governance]
if:
contains('
refs/heads/main
refs/heads/testnet
', github.ref)
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -216,6 +226,11 @@ jobs:
release-isolated-pools:
runs-on: ubuntu-20.04
needs: [unit-test, lint, integration-test-isolated-pools, release-etherfi-promo]
if:
contains('
refs/heads/main
refs/heads/testnet
', github.ref)
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -250,6 +265,11 @@ jobs:
release-protocol-reserve:
runs-on: ubuntu-20.04
needs: [unit-test, lint, release-isolated-pools]
if:
contains('
refs/heads/main
refs/heads/testnet
', github.ref)
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -284,6 +304,11 @@ jobs:
release-core-pool:
runs-on: ubuntu-20.04
needs: [unit-test, lint, integration-test-core-pool, release-protocol-reserve]
if:
contains('
refs/heads/main
refs/heads/testnet
', github.ref)
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -318,6 +343,11 @@ jobs:
release-governance:
runs-on: ubuntu-20.04
needs: [unit-test, lint, integration-test-governance, release-core-pool]
if:
contains('
refs/heads/main
refs/heads/testnet
', github.ref)
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit d6dbb39

Please sign in to comment.