Skip to content

Health

Health #270

Workflow file for this run

name: Health
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
jobs:
providers:
name: Provider Check
runs-on: ubuntu-latest
if: ${{ github.event_name != 'schedule' || github.repository == 'biopragmatics/bioregistry' }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
- name: Install the Bioregistry
run: pip install -e .[health]
- name: Run the provider checks
run: python -m bioregistry.health providers
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit --all -m "馃珋Health Report"
- name: Push changes
uses: ad-m/github-push-action@77c5b412c50b723d2a4fbc6d71fb5723bcd439aa # v1.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
tags: true