From 203802410d7156e33e7dd94e77f313638fefec2d Mon Sep 17 00:00:00 2001 From: Gosuto Inzasheru Date: Wed, 17 Jul 2024 16:06:23 +0200 Subject: [PATCH] chore: add more sdtout output --- .github/workflows/upkeeps.yaml | 2 +- tools/python/query_upkeeps.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upkeeps.yaml b/.github/workflows/upkeeps.yaml index b0b71b36b..6352c1b6a 100644 --- a/.github/workflows/upkeeps.yaml +++ b/.github/workflows/upkeeps.yaml @@ -34,6 +34,6 @@ jobs: - name: Commit CSV file uses: stefanzweifel/git-auto-commit-action@v5 with: - branch: upkeeps + branch: "upkeeps" file_pattern: "upkeeps.csv" commit_message: "ci: dump csv file with all queried upkeeps" diff --git a/tools/python/query_upkeeps.py b/tools/python/query_upkeeps.py index 18580d83a..9f27c1862 100644 --- a/tools/python/query_upkeeps.py +++ b/tools/python/query_upkeeps.py @@ -33,4 +33,6 @@ def get_upkeeps(chain="ethereum"): ]: dfs.append(get_upkeeps(chain)) os.makedirs("../../out", exist_ok=True) - pd.concat(dfs).to_csv("../../out/upkeeps.csv", index=False) + dfs = pd.concat(dfs) + print(dfs) + dfs.to_csv("upkeeps.csv", index=False)