Skip to content

Health

Health #174

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@v2
- name: Set up Python
uses: actions/setup-python@v2
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 "[email protected]"
git config --local user.name "GitHub Action"
git commit --all -m "🫀Health Report"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
tags: true