Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add datapackage and setup validation workflow #1

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: validation

on:
pull_request:
branches:
- main
schedule:
schedule: # run automatically on main branch each Tuesday at 11am
- cron: "0 16 * * 2"


jobs:

# Validate

validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Validate data
uses: frictionlessdata/repository@v2
with:
packages: "datapackage.json"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# PGP Metadata

[![validation](https://github.com/princetongenizalab/pgp-metadata/actions/workflows/validation.yml/badge.svg)](https://github.com/princetongenizalab/pgp-metadata/actions/workflows/validation.yml)

This repository is used to version and publish data from the [Princeton Geniza Project](https://geniza.princeton.edu/) (PGP). The data files are automatically exported and synchronized from the PGP database. Commits include co-author information where possible, to credit the researchers who are working on the data.

Files in the data directory should _NOT_ be edited or modified directly.
Expand Down
Loading