2020-04-08 18:59:55 +00:00
name : On Open
2020-03-16 15:12:54 +00:00
on :
issues :
2020-04-08 18:59:55 +00:00
types : [ opened]
2020-03-12 08:38:52 +00:00
2020-03-16 15:12:54 +00:00
jobs :
main :
runs-on : ubuntu-latest
steps :
- name : Checkout Actions
uses : actions/checkout@v2
with :
2020-04-07 05:09:13 +00:00
repository : 'microsoft/vscode-github-triage-actions'
2020-06-17 06:44:36 +00:00
ref : v29
2020-04-08 18:47:36 +00:00
path : ./actions
2020-04-07 05:09:13 +00:00
- name : Install Actions
2020-04-08 18:47:36 +00:00
run : npm install --production --prefix ./actions
2020-03-18 17:21:25 +00:00
- name : Run CopyCat (JacksonKearl/testissues)
2020-04-08 18:47:36 +00:00
uses : ./actions/copycat
2020-03-18 17:21:25 +00:00
with :
2020-06-10 07:35:36 +00:00
appInsightsKey : ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
2020-03-18 17:21:25 +00:00
token : ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
owner : JacksonKearl
repo : testissues
- name : Run CopyCat (chrmarti/testissues)
2020-04-08 18:47:36 +00:00
uses : ./actions/copycat
2020-03-18 17:21:25 +00:00
with :
2020-06-10 07:35:36 +00:00
appInsightsKey : ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
2020-03-18 17:21:25 +00:00
token : ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
owner : chrmarti
repo : testissues
2020-04-08 18:47:36 +00:00
- name : Run New Release
uses : ./actions/new-release
with :
label : new release
2020-06-10 07:35:36 +00:00
appInsightsKey : ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
2020-04-08 18:47:36 +00:00
labelColor : "006b75"
labelDescription : Issues found in a recent release of VS Code
days : 5
2020-04-09 23:51:15 +00:00
- name : Run Clipboard Labeler
uses : ./actions/regex-labeler
with :
2020-06-10 07:35:36 +00:00
appInsightsKey : ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
2020-04-09 23:51:15 +00:00
label : "invalid"
2020-04-09 23:53:54 +00:00
mustNotMatch : "^We have written the needed data into your clipboard because it was too large to send\\. Please paste\\.$"
2020-04-10 15:11:43 +00:00
comment : "It looks like you're using the VS Code Issue Reporter but did not paste the text generated into the created issue. We've closed this issue, please open a new one containing the text we placed in your clipboard.\n\nHappy Coding!"
2020-04-13 01:13:18 +00:00
# source of truth in ./english-please.yml
- name : Run English Please
uses : ./actions/english-please
with :
2020-04-13 21:52:52 +00:00
token : ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
2020-06-10 07:35:36 +00:00
appInsightsKey : ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
2020-04-13 01:13:18 +00:00
cognitiveServicesAPIKey : ${{secrets.AZURE_TEXT_TRANSLATOR_KEY}}
nonEnglishLabel : "*english-please"
needsMoreInfoLabel : "needs more info"
translatorRequestedLabelPrefix : "translation-required-"
translatorRequestedLabelColor : "c29cff"