Skip to content

Run Weekly Auto-Add File Formats #5

Run Weekly Auto-Add File Formats

Run Weekly Auto-Add File Formats #5

name: Run Weekly Auto-Add File Formats
on:
schedule:
- cron: '0 11 * * 1' # This runs the job every Monday at 11 AM
jobs:
run-weekly-auto-add-fileformats:
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_fileformats.py nfdi4bioimage/training