Run Weekly Auto-Add ORCIDs #34
This file contains hidden or 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: 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 |