Skip to content

Fetch CMC

Fetch CMC #130

Workflow file for this run

name: Fetch CMC
on:
workflow_dispatch:
schedule:
# 23:15 UTC Every Monday
# GitHub Actions might be delayed if time is at exact hour
- cron: "15 23 * * 1"
jobs:
fetchCMC:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Fetch CMC
run: bun fetch cmc
- name: Makelist
run: bun makelist cmc
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
author: PancakeSwap Bot <[email protected]>
delete-branch: true
commit-message: "CMC token list"
title: "chore: Update CMC token list"
body: |
- Update CMC token list
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
branch: update-cmc