-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Pools Query to Action (#1274)
* update-data * Update Pool fetching to action
- Loading branch information
1 parent
9fdb827
commit b053822
Showing
10 changed files
with
355 additions
and
139 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,55 @@ | ||
on: [workflow_dispatch] | ||
name: Update Chain Registry | ||
jobs: | ||
update_chain_registry: | ||
name: Update Chain Registry | ||
runs-on: ubuntu-latest | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
steps: | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
submodules: true | ||
|
||
- name: Git Sumbodule Update | ||
run: | | ||
git submodule update --init --recursive | ||
git submodule update --recursive --remote | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 19.6.0 | ||
|
||
- name: Run code to Query Pools | ||
working-directory: ./.github/workflows/utility | ||
run: node queryPools.mjs | ||
|
||
- name: Add Commit Push | ||
uses: devops-infra/action-commit-push@master | ||
with: | ||
github_token: "${{ secrets.GITHUB_TOKEN }}" | ||
add_timestamp: false | ||
commit_prefix: "[AUTO]" | ||
commit_message: "Query and Save Pools" | ||
force: false | ||
target_branch: update/query_pools | ||
|
||
- name: Create A PR | ||
uses: devops-infra/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
source_branch: update/query_pools | ||
target_branch: main | ||
title: Query and Save Pools | ||
body: "**Automated pull request**" | ||
old_string: "**THIS IS AN AUTOMATED UPDATE OF ALL POOLS**" | ||
new_string: "** Automatic pull request**" | ||
get_diff: true | ||
ignore_users: "dependabot" |
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
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
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,3 @@ | ||
import { queryAllPools } from './getPools.mjs'; | ||
|
||
queryAllPools(); |
Submodule chain-registry
updated
53 files
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
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
Oops, something went wrong.