Skip to content

Check phenopacket-store for a new release #14

Check phenopacket-store for a new release

Check phenopacket-store for a new release #14

Workflow file for this run

name: Check phenopacket-store for a new release
on:
schedule:
- cron: "0 0 * * 0" # Run weekly on Sunday at 00:00 UTC
workflow_dispatch:
jobs:
check_release:
name: Check for new phenopacket-store release
runs-on: ubuntu-latest
permissions:
contents: read
actions: write
outputs:
latest_store_tag: ${{ steps.check.outputs.latest_store_tag }}
latest_hpo_tag: ${{ steps.check.outputs.latest_hpo_tag }}
new_release: ${{ steps.check.outputs.new_release }}
steps:
- uses: actions/checkout@v4
- name: Set up Python for to run ppkt-store checker
uses: actions/setup-python@v4
with:
python-version: '3.x' # Use latest stable version
- name: Install python dependencies
run: pip install requests
- name: Run release checker
id: check
env:
GH_TOKEN: ${{ secrets.GH_PAT_LEO }}
run: python scripts/check_ppktstore_version.py
follow_up_prompt_creation:
needs: check_release
if: needs.check_release.outputs.new_release == 'true'
uses: ./.github/workflows/create_prompts_and_upload.yml
with:
LATEST_STORE: ${{ needs.check_release.outputs.latest_store_tag }}

Check failure on line 41 in .github/workflows/look4updates.yml

View workflow run for this annotation

GitHub Actions / Check phenopacket-store for a new release

Invalid workflow file

The workflow is not valid. .github/workflows/look4updates.yml (Line: 41, Col: 23): Invalid input, LATEST_STORE is not defined in the referenced workflow. .github/workflows/look4updates.yml (Line: 42, Col: 21): Invalid input, LATEST_HPO is not defined in the referenced workflow.
LATEST_HPO: ${{ needs.check_release.outputs.latest_hpo_tag }}
secrets:
ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}
ZENODO_DEPOSITION_ID: ${{ secrets.ZENODO_DEPOSITION_ID }}