mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Create auto-label.yml
This commit is contained in:
parent
e30c40fbca
commit
267678832a
1 changed files with 18 additions and 0 deletions
18
.github/workflows/auto-label.yml
vendored
Normal file
18
.github/workflows/auto-label.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
name: Auto-label when user responds
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
run-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Add/Remove labels when user responds
|
||||
uses: andymckay/labeler@master
|
||||
if: ${{ github.event.comment.user.login == github.event.issue.user.login && contains(github.event.issue.labels.*.name, 'waiting for response') && !contains(github.event.issue.labels.*.name, 'user responded') }}
|
||||
with:
|
||||
add-labels: 'user responded'
|
||||
remove-labels: 'waiting for response'
|
||||
Loading…
Add table
Add a link
Reference in a new issue