Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft 1: Update confirmed subclass of evidence in Mondo #7801

Merged
merged 7 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/subclass.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Update Subclass Evidence

on:
# schedule:
# - cron: '0 14 * * 1'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.5.2

steps:
- name: Checkout main branch
uses: actions/checkout@v3

- name: Update Subclass evidence
run: |
cd src/ontology
make GITHUB_ACTION=true IMP=false PAT=false update-subclass-sync -B

# This is important if we are out of sync between Mondo and Mondo Ingest:
# We need to eventually add a check to ensure that no subclass axioms have been added or removed
# We should consider to create a seperate curation workflows with a table with previously supported and now not anymore supported subclass axioms
- name: QC to ensure that nothing other than provenance has changed
run: |
cd src/ontology
make GITHUB_ACTION=true IMP=false PAT=false qc -B

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
branch-suffix: short-commit-hash
labels: Automated
body: "Update the confirmed subclass axiom annotation."
title: "Weekly automated mappings update"
base: ${{ github.head_ref }}
branch: "mapping_automation"
token: ${{ secrets.GH_TOKEN }}
reviewers: "sabrinatoro"
Loading
Loading