Update Grist Spreedsheets with metadata from ecosyste.ms #3
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: Update Grist Spreedsheets with metadata from ecosyste.ms | |
# Controls when the workflow will run | |
on: | |
schedule: | |
# Run at 00:00 UTC every Monday | |
- cron: '0 0 * * *' | |
#on: | |
# push: | |
# branches: | |
# - ecosystems-to-spreadsheet-integration | |
jobs: | |
weekly-task: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: pip install pandas requests | |
- name: Run the script | |
env: | |
GRIST_API_TOKEN: ${{ secrets.GRIST }} | |
run: python .github/workflows/ecosystems_to_grist.py -k "$GRIST_API_TOKEN" |