Skip to content

run sync_openalex_affiliations_github_issues.py #3

run sync_openalex_affiliations_github_issues.py

run sync_openalex_affiliations_github_issues.py #3

name: run sync_openalex_affiliations_github_issues.py
on:
schedule:
- cron: "0 2 * * *" # Every day at 2 AM
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: "3.10" # install the python version needed
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: execute python script # run sync_openalex_affiliations_github_issues.py
env:
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
ODS_API_KEY: ${{ secrets.ODS_API_KEY }}
run: python sync_openalex_affiliations_github_issues.py