-
Notifications
You must be signed in to change notification settings - Fork 53
40 lines (34 loc) · 1.21 KB
/
external_content.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Update Externally Provided Content
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
with:
ref: master
- name: Update Externally Provided Content
run: |
cd src/ontology
make GITHUB_ACTION=true IMP=false PAT=false update-external-content-incl-rare -B
- name: Run ontology QC checks
env:
DEFAULT_BRANCH: master
run: cd src/ontology; make GITHUB_ACTION=true IMP=false PAT=false test -B
continue-on-error: true # Allow QC to fail but continue
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
branch-suffix: short-commit-hash
labels: Automated
body: "Update the externally managed content. This includes all content, including updates to the rare disease subsets."
title: "Externally managed content update"
base: ${{ github.head_ref }}
branch: "externally_managed_content"
token: ${{ secrets.GH_TOKEN }}
#reviewers: "twhetzel"