Skip to content

.github/workflows/FluID.yml #43

.github/workflows/FluID.yml

.github/workflows/FluID.yml #43

Workflow file for this run

name: DownloadFluID
on:
workflow_dispatch:
schedule:
- cron: "30 18 * * 5"
jobs:
fluID_job:
if: github.repository_owner == 'european-modelling-hubs'
runs-on: ubuntu-latest
outputs:
changed_files: ${{ steps.download_fluID_data.outputs.imported_snapshot }}
steps:
# Checkout the python tools repo
# -------------------------------------------
- name: checkout python tools repo
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: 'european-modelling-hubs/hub-tools'
ref: 'main'
path: './tools/'
# Checkout the data repository
# -------------------------------------------
- name: checkout data repo
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: 'european-modelling-hubs/ari-forecast-hub'
ref: 'main'
path: './repo/'
# Run Pyton code
# -------------------------
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: pip install pandas pycountry==23.12.11
- name: download fluID data
id: download_fluID_data
run: |
python ./tools/code/get_fluID_data.py --hub_path ./repo --disease "ARI"
- name: Commit data repo changes
uses: EndBug/add-and-commit@v7
with:
cwd: './repo'
message: "Update data storage"
default_author: github_actions
push: true
call-persisting-wf:
needs: fluID_job
uses: european-modelling-hubs/ari-forecast-hub/.github/workflows/persist_changes.yml@main

Check failure on line 68 in .github/workflows/FluID.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/FluID.yml

Invalid workflow file

error parsing called workflow ".github/workflows/FluID.yml" -> "european-modelling-hubs/ari-forecast-hub/.github/workflows/persist_changes.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
changes-list: ${{ needs.fluID_job.outputs.changed_files }}
secrets:
envPAT: ${{ secrets.GITHUB_TOKEN }}