mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
30 lines
1,005 B
YAML
30 lines
1,005 B
YAML
name: English Please
|
|
on:
|
|
issues:
|
|
types: [edited]
|
|
|
|
# also make changes in ./on-label.yml and ./on-open.yml
|
|
jobs:
|
|
main:
|
|
runs-on: ubuntu-latest
|
|
if: contains(github.event.issue.labels.*.name, '*english-please')
|
|
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 English Please
|
|
uses: ./actions/english-please
|
|
with:
|
|
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
cognitiveServicesAPIKey: ${{secrets.AZURE_TEXT_TRANSLATOR_KEY}}
|
|
nonEnglishLabel: "*english-please"
|
|
needsMoreInfoLabel: "needs more info"
|
|
translatorRequestedLabelPrefix: "translation-required-"
|
|
translatorRequestedLabelColor: "c29cff"
|