Files
pydantic/.github/workflows/label-assign.yml
T
Samuel Colvin b56c810f52 labe-assign revert pull_request_review change
comment out pull_request_review, only run the step
on pull requests
2022-08-04 16:07:34 +01:00

25 lines
723 B
YAML

name: Label & Assign
on:
issue_comment:
types: [created, edited]
# https://github.com/orgs/community/discussions/26651 pull_request_review runs in the context of the PR,
# so doesn't have permission to add labels or reassign
# pull_request_review:
# types: [submitted, edited]
permissions:
pull-requests: write
jobs:
label-and-assign:
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
steps:
- uses: docker://samuelcolvin/label-and-assign:latest
with:
token: ${{ secrets.GITHUB_TOKEN }}
reviewers: samuelcolvin,PrettyWood,hramezani
awaiting_update_label: 'awaiting author revision'
awaiting_review_label: 'ready for review'