# Patent PreCheck — GitHub Actions workflow (copy to .github/workflows/patent-precheck.yml)
name: Patent PreCheck

on:
  workflow_dispatch:
  pull_request:
    paths:
      - '**.ts'
      - '**.tsx'
      - '**.js'
      - '**.py'
      - '**.go'
      - '**.rs'

jobs:
  patentability:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Patentability score
        uses: Patent-PreCheck/Patent-PreCheck/.github/actions/patent-precheck@v1
        with:
          path: .
          tier: free
          ai-assistance: yes_some
          # min-score: '50'
