mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
This message would have helped avoid https://www.internalfb.com/sevmanager/view/440895 Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/133861 Approved by: https://github.com/albanD, https://github.com/izaitsevfb
30 lines
829 B
YAML
30 lines
829 B
YAML
name: Nitpicker
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, reopened]
|
|
branches: [main]
|
|
|
|
pull_request:
|
|
types: [opened, reopened]
|
|
branches: [gh/**/base]
|
|
|
|
jobs:
|
|
triage:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
# Do not comment on nightly builds PR
|
|
if: ${{ github.event.pull_request.number != 26921 && github.repository_owner == 'pytorch' }}
|
|
steps:
|
|
- name: Checkout PyTorch
|
|
uses: pytorch/pytorch/.github/actions/checkout-pytorch@main
|
|
- uses: ethanis/nitpicker@v1
|
|
with:
|
|
nitpicks: '.github/nitpicks.yml'
|
|
token: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
|
|
cancel-in-progress: true
|