Skip to content

Update click requirement from <8.1.4,>=8.0 to >=8.0,<8.1.8 #162

Update click requirement from <8.1.4,>=8.0 to >=8.0,<8.1.8

Update click requirement from <8.1.4,>=8.0 to >=8.0,<8.1.8 #162

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`'
})