Add needs-reply action
This commit is contained in:
parent
768160b001
commit
208755030a
1 changed files with 21 additions and 0 deletions
21
.github/workflows/needs-reply.yml
vendored
Normal file
21
.github/workflows/needs-reply.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: Remove needs-reply label
|
||||||
|
|
||||||
|
on:
|
||||||
|
issue_comment:
|
||||||
|
types:
|
||||||
|
- created
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Remove needs-reply label
|
||||||
|
uses: octokit/request-action@v2.x
|
||||||
|
continue-on-error: true
|
||||||
|
with:
|
||||||
|
route: DELETE /repos/:repository/issues/:issue/labels/:label
|
||||||
|
repository: ${{ github.repository }}
|
||||||
|
issue: ${{ github.event.issue.number }}
|
||||||
|
label: "status:needs-reply"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue