mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-06 17:23:53 -05:00
* Adding old issue * Adding needs more info * Making a different step for every issue label
27 lines
721 B
YAML
27 lines
721 B
YAML
name: On issue comment
|
|
on:
|
|
issue_comment:
|
|
types:
|
|
- created
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
if: |
|
|
github.event.comment.author_association != 'OWNER' &&
|
|
github.event.comment.author_association != 'COLLABORATOR'
|
|
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 }}
|
|
labels: |
|
|
Needs Logs
|
|
Needs Logs - Azure
|
|
Needs More Info
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|