Update OBCI ID to lowercase (#138) #187
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
name: Run Dashboard | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
paths: | |
- 'dashboard-config.yml' | |
- 'Makefile' | |
schedule: | |
- cron: "0 13 * * 1" | |
jobs: | |
dashboard: | |
runs-on: ubuntu-latest | |
container: obolibrary/odkfull:dev | |
strategy: | |
max-parallel: 1 | |
steps: | |
- name: Checkout main branch | |
uses: actions/checkout@v4 | |
- name: work around permission issue | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Clean directories | |
run: rm -rf dashboard ontologies && mkdir -p dashboard ontologies | |
- name: Prepare run | |
run: cp dashboard-config.yml /tools/OBO-Dashboard/dashboard-config.yml && cp -r sparql/ /tools/OBO-Dashboard/sparql | |
- name: Run dashboard | |
run: obodash -C dashboard-config.yml | |
- name: Copy results | |
run: cp -r /tools/OBO-Dashboard/dashboard/* dashboard/ && cp -r /tools/OBO-Dashboard/build/ontologies/* ontologies/ | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: Update dashboard run | |
title: 'Update dashboard run' | |
body: | | |
Updates the OBO NOR dashboard | |
assignees: pfabry |