Skip to content

Commit

Permalink
modify github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
adityajirafe committed Apr 3, 2024
1 parent 7e41342 commit 07775ac
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/generate-lists.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
pull_request:
branches:
- master
- test/github-workflow
name: Token List Generation
jobs:
generate_lists:
Expand All @@ -26,4 +26,13 @@ jobs:
run: yarn generate-auto

- name: CI Check
run: yarn ci-check-auto
run: yarn ci-check-auto

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
title: Token list updated
body: |
This PR updates the token list.
branch: chore/update-token-list
base: test/github-workflow
24 changes: 8 additions & 16 deletions src/tokens/bolt-default-list.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
[
{
"name": "StakingTest",
"address": "0x5d39c4d5f717eef378e787a7e880d00c23647f46",
"symbol": "STK",
"decimals": 18,
"chainId": 42070,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png"
},
{
"name": "OurToken",
"address": "0x3962f6bfade976e707ef1c3d3cf94d9200f9072d",
"symbol": "OTK",
"decimals": 18,
"chainId": 42070,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png"
}
{
"name": "StakingTest",
"address": "0x5d39c4d5f717eef378e787a7e880d00c23647f46",
"symbol": "STK",
"decimals": 18,
"chainId": 42070,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png"
}
]

0 comments on commit 07775ac

Please sign in to comment.