Skip to content

Commit 52e60d7

Browse files
authored
Add dedicated HGNC workflow (#24)
1 parent d274f46 commit 52e60d7

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/hgnc.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build HGNC
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 0 * * 0" # weekly
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
container: obolibrary/odkfull:v1.3.1
12+
strategy:
13+
max-parallel: 1
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
with:
18+
ref: ${{ github.event.pull_request.head.ref }}
19+
20+
- name: Update Git Configuration
21+
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
22+
23+
- name: Install uv
24+
uses: astral-sh/setup-uv@v7
25+
26+
- name: Build HGNC resources
27+
id: update
28+
run: |
29+
uv run build.py -x hgnc -x hgnc.genegroup
30+
31+
- name: Commit changes
32+
uses: EndBug/add-and-commit@v9
33+
with:
34+
message: '🧬 Update HGNC'
35+
default_author: github_actions

0 commit comments

Comments
 (0)