Clean up triage-needed label on assign

This commit is contained in:
Jackson Kearl 2021-12-14 15:40:24 -08:00
parent f880c417da
commit ec0b0009ec
No known key found for this signature in database
GPG key ID: DA09A59C409FC400
2 changed files with 26 additions and 1 deletions

View file

@ -0,0 +1,24 @@
name: "Deep Classifier: Assign Monitor"
on:
issues:
types: [assigned]
jobs:
main:
runs-on: ubuntu-latest
if: ${{ contains(github.event.issue.labels.*.name, 'triage-needed') }}
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "microsoft/vscode-github-triage-actions"
ref: stable
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
- name: "Run Classifier: Monitor"
uses: ./actions/classifier-deep/monitor
with:
botName: vscode-triage-bot
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}

View file

@ -1,4 +1,4 @@
name: "Deep Classifier: Monitor"
name: "Deep Classifier: Unassign Monitor"
on:
issues:
types: [unassigned]
@ -6,6 +6,7 @@ on:
jobs:
main:
runs-on: ubuntu-latest
if: ${{ ! contains(github.event.issue.labels.*.name, 'triage-needed') }}
steps:
- name: Checkout Actions
uses: actions/checkout@v2