Skip to content

Commit

Permalink
Added scheduled workflow for getting merged unmapped exact lexmatches. (
Browse files Browse the repository at this point in the history
#6583)

* Added scheduled workflow for getting merged unmapped exact lexmatches.

* Added wget for robot template file

* Update .github/workflows/merge_template.yml

* Update mondo.Makefile

* Update .github/workflows/merge_template.yml

Co-authored-by: Nico Matentzoglu <[email protected]>

---------

Co-authored-by: Nico Matentzoglu <[email protected]>
  • Loading branch information
hrshdhgd and matentzn authored Aug 24, 2023
1 parent 6170c9c commit 1f0f60e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/merge_template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Update Mappings

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

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

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

- name: Get merged unmapped exact lexmatches.
run: |
cd src/ontology
make GITHUB_ACTION=true IMP=false PAT=false TEMPLATE_URL="https://raw.githubusercontent.com/monarch-initiative/mondo-ingest/main/src/ontology/lexmatch/all_exact.robot.tsv" merge_template -B
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
branch-suffix: short-commit-hash
labels: Automated
body: "Update mappings in Mondo from external sources."
title: "Weekly automated mappings update"
base: ${{ github.head_ref }}
branch: "mapping_automation"
token: ${{ secrets.GH_TOKEN }}
reviewers: "sabrinatoro"
1 change: 0 additions & 1 deletion src/ontology/mondo.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@ $(MAPPINGSDIR)/mondo.sssom.tsv: tmp/mondo.sssom.tsv tmp/mondo-ingest.db
# sssom convert -i $< -o $@
# #python ../scripts/split_sssom_by_source.py $@


mappings: $(ALL_MAPPINGS)

##### RELEASE Report ######
Expand Down

0 comments on commit 1f0f60e

Please sign in to comment.