-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor all_ontology_generator for cleanliness and modularity
chore: refactor all_ontology_generator for cleanliness and modularity
- Loading branch information
Showing
9 changed files
with
257 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Updates to Ontology Files | |
on: | ||
push: | ||
paths: | ||
- "**/tools/ontology-builder/ontology-references/owl_info.yml" | ||
- "**/tools/ontology-builder/src/ontology-references/ontology_info.yml" | ||
branches-ignore: | ||
- main | ||
|
||
|
@@ -15,13 +15,6 @@ jobs: | |
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
- name: ontology changes | ||
uses: dorny/paths-filter@v2 | ||
id: filter | ||
with: | ||
filters: | | ||
owl_info: | ||
- 'tools/ontology-builder/ontology-references/owl_info.yml' | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v1 | ||
with: | ||
|
@@ -40,13 +33,11 @@ jobs: | |
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
- name: owl-processing | ||
if: ${{ steps.filter.outputs.owl_info == 'true' }} | ||
- name: ontology-processing | ||
run: | | ||
python3 ./tools/ontology-builder/all_ontology_generator.py | ||
git add ./tools/ontology-builder/ontology-references/all_ontology.json.gz | ||
python3 ./tools/ontology-builder/src/all_ontology_generator.py | ||
git add ./tools/ontology-builder/src/ontology-references/all_ontology.json.gz | ||
- name: Commit | ||
if: ${{ steps.filter.outputs.owl_info == 'true' }} | ||
run: | | ||
git commit -m "AUTO: update ontologies" | ||
git push |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.