Skip to content

Added Ranbooru

Added Ranbooru #122

name: Validate entries
"on":
workflow_dispatch:
push:
branches-ignore:
- master
- extensions
paths:
- 'extensions/**.json'
- 'tags.json'
- 'index.json'
pull_request:
types:
- opened
- synchronize
- reopened
paths:
- 'extensions/**.json'
- 'tags.json'
- 'index.json'
jobs:
validate-entries:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Validate entries
run: python -B .github/scripts/validate.py