Skip to content

Poke Onchain Rewards Injectors #35764

Poke Onchain Rewards Injectors

Poke Onchain Rewards Injectors #35764

name: Poke Onchain Rewards Injectors
on:
workflow_dispatch:
schedule:
- cron: "0/5 * * * *"
env:
KEYWORDS: ${{ secrets.KEEPER_PRIVATE_WORDS }}
WEB3_INFURA_PROJECT_ID: ${{ secrets.WEB3_INFURA_PROJECT_ID }}
ETHERSCAN_TOKEN: ${{ secrets.ETHERSCAN_TOKEN }}
FRAXSCAN_TOKEN: ${{ secrets.FRAXSCAN_TOKEN }}
ARBISCAN_TOKEN: ${{ secrets.ARBISCAN_TOKEN }}
GNOSISSCAN_TOKEN: ${{ secrets.GNOSISSCAN_TOKEN }}
POLYGONSCAN_TOKEN: ${{ secrets.POLYGONSCAN_TOKEN }}
OPTIMISMSCAN_TOKEN: ${{ secrets.OPTIMISMSCAN_TOKEN }}
ZKEVMSCAN_TOKEN: ${{ secrets.ZKEVMSCAN_TOKEN }}
SNOWTRACE_TOKEN: ${{ secrets.SNOWTRACE_TOKEN }}
BASESCAN_TOKEN: ${{ secrets.BASESCAN_TOKEN }}
jobs:
poke_injectors:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Compiler Installations
uses: actions/cache@v4
with:
path: |
~/.solcx
~/.vvm
key: compiler-cache
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Poke'em
run: |
cd action-scripts/brownie
pip3 install -r requirements-actions.txt
touch .env
brownie run scripts/pokeInjectors.py