-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3520 from balancer/auto-allowlist-pool
Add webhook to allowlist pools
- Loading branch information
Showing
3 changed files
with
56 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Allowlist pool | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
network: | ||
type: choice | ||
description: Network | ||
required: true | ||
options: | ||
- mainnet | ||
- polygon | ||
- arbitrum | ||
- gnosis-chain | ||
poolType: | ||
type: choice | ||
description: Pool Type | ||
required: true | ||
options: | ||
- Weighted | ||
- Stable | ||
poolId: | ||
type: string | ||
description: Pool ID | ||
required: true | ||
poolDescription: | ||
type: string | ||
description: Pool Description | ||
required: false | ||
|
||
jobs: | ||
allowlist-pool: | ||
uses: ./.github/workflows/allowlist.yml | ||
with: | ||
network: ${{ github.event.inputs.network }} | ||
poolType: ${{ github.event.inputs.poolType }} | ||
poolId: ${{ github.event.inputs.poolId }} | ||
poolDescription: ${{ github.event.inputs.poolDescription }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Allowlist Pool Webhook | ||
|
||
on: | ||
repository_dispatch: | ||
types: ['allowlist_pool'] | ||
|
||
jobs: | ||
allowlist-pool: | ||
uses: ./.github/workflows/allowlist.yml | ||
with: | ||
network: ${{ github.event.client_payload.network }} | ||
poolType: ${{ github.event.client_payload.poolType }} | ||
poolId: ${{ github.event.client_payload.poolId }} | ||
poolDescription: ${{ github.event.client_payload.poolDescription }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32992ba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
beta-app-v2 – ./
beta-app-v2.vercel.app
beta-app-v2-balancer.vercel.app
beta-app-v2-git-develop-balancer.vercel.app
beta.balancer.fi