Skip to content

Run Weekly Auto-Add ORCIDs #34

Run Weekly Auto-Add ORCIDs

Run Weekly Auto-Add ORCIDs #34

name: Run Weekly Auto-Add ORCIDs
on:
schedule:
- cron: '0 11 * * 0' # This runs the job every Sunday at 11 AM
jobs:
run-weekly-auto-add-orcids:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Python
env:
GITHUB_API_KEY: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_RUN_ID: "${{ github.run_id }}"
run: |
python scripts/add_author_orcids.py nfdi4bioimage/training