vscode/.github/workflows/on-open.yml

62 lines
2.3 KiB
YAML
Raw Normal View History

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:
repository: 'microsoft/vscode-github-triage-actions'
ref: v29
2020-04-08 18:47:36 +00:00
path: ./actions
- 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:
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:
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
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
- name: Run Clipboard Labeler
uses: ./actions/regex-labeler
with:
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
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}}
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"