Skip to content

Initial script to validate new user mappings against TVDB seasons #2

Initial script to validate new user mappings against TVDB seasons

Initial script to validate new user mappings against TVDB seasons #2

name: Validate added seasons
on:
push:
branches:
- validateSeason
pull_request:
branches:
- master
paths-ignore:
- ".**"
- "README.md"
- "LICENSE"
env:
PYTHON_VERSION: "3.10"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tvdb_v4_official python-dotenv pyyaml
- name: Run season validation
env:
TVDB_API_KEY: ${{ secrets.TVDB_API_KEY }}
run: python checkSeason.py