Skip to content

Update sphinx-autodoc-typehints requirement from <=1.23.0 to <=2.0.0 #160

Update sphinx-autodoc-typehints requirement from <=1.23.0 to <=2.0.0

Update sphinx-autodoc-typehints requirement from <=1.23.0 to <=2.0.0 #160

name: Update dependency PR
on:
pull_request:
types:
- opened
paths:
- "pyproject.toml"
permissions:
pull-requests: write
jobs:
torch:
name: torch
runs-on: ubuntu-latest
if: startsWith(github.head_ref, 'dependabot/pip/torch-')
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Hello! This is a [PyTorch](https://pytorch.org/) upgrade, which means you will also need to update:\n- [ ] The base image in `Dockerfile`\n- [ ] The base image in `Dockerfile.test`\n- [ ] The torch version hard-coded in `.github/workflows/main.yml`'
})