Query all Chainlink upkeeps #6
Workflow file for this run
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
name: Query all Chainlink upkeeps | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
query_upkeeps: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
- name: Query Dune | |
env: | |
DUNE_API_KEY: ${{ secrets.DUNE_API_KEY }} | |
run: | | |
pwd | |
RUN_DIR=tools/python | |
pip install -r $RUN_DIR/requirements.txt | |
python $RUN_DIR/query_upkeeps.py | |
git status | |
- name: Commit CSV file | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
branch: "upkeeps" | |
file_pattern: "upkeeps.csv" | |
commit_message: "ci: dump csv file with all queried upkeeps" |