mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
This will clobber previous approves. Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/132681 Approved by: https://github.com/albanD, https://github.com/malfet
24 lines
762 B
YAML
24 lines
762 B
YAML
name: Auto Request Review
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, ready_for_review]
|
|
jobs:
|
|
auto-request-review:
|
|
# Don't run on forked repos
|
|
if: ${{ !github.event.pull_request.head.repo.fork }}
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
name: Auto Request Review
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Request review based on files changes and/or groups the author belongs to
|
|
# v0.7.0
|
|
uses: necojackarc/auto-request-review@e08cdffa277d50854744de3f76230260e61c67f4
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
|
|
cancel-in-progress: true
|