Skip to content

fix: switchboard address (#352) #691

fix: switchboard address (#352)

fix: switchboard address (#352) #691

Workflow file for this run

# This workflow runs scripts/ProtocolsTable.py and commits protocols.csv to this branch
name: Generate CSV
on:
push:
branches: [ main, master ]
jobs:
generate-csv:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
- name: Install dependencies
run: uv sync
- name: Run script (testnet)
run: |
source .venv/bin/activate
python scripts/ProtocolsTable.py --network testnet
- name: Run script (mainnet)
run: |
source .venv/bin/activate
python scripts/ProtocolsTable.py --network mainnet
# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Update protocols CSV files"
file_pattern: "*.csv"
push_options: "--force"