Skip to content

Commit

Permalink
Create a github action to automatically update registry data
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn committed Nov 21, 2024
1 parent 384de95 commit 4f98ff1
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Rebuild registry files

on:
push:
branches: [ main ]
paths:
- 'mapping-server.yml'
- 'scripts/cli.py'
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:

jobs:
build_registry:
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.5.3

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

- name: Rebuild all registry files
env:
DEFAULT_BRANCH: main
run: make all -B

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: Update registry files
title: 'Update all registry files'
body: |
Updates all registry release files.
assignees: matentzn

0 comments on commit 4f98ff1

Please sign in to comment.