2020-04-13 01:13:18 +00:00
|
|
|
name: English Please
|
|
|
|
on:
|
|
|
|
issues:
|
|
|
|
types: [edited]
|
|
|
|
|
|
|
|
# also make changes in ./on-label.yml and ./on-open.yml
|
|
|
|
jobs:
|
|
|
|
main:
|
|
|
|
runs-on: ubuntu-latest
|
2021-06-09 00:34:23 +00:00
|
|
|
if: contains(github.event.issue.labels.*.name, '*english-please')
|
2020-04-13 01:13:18 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout Actions
|
2022-03-23 17:21:25 +00:00
|
|
|
uses: actions/checkout@v3
|
2020-04-13 01:13:18 +00:00
|
|
|
with:
|
2020-11-24 10:44:18 +00:00
|
|
|
repository: "microsoft/vscode-github-triage-actions"
|
2021-02-05 22:57:41 +00:00
|
|
|
ref: stable
|
2020-04-13 01:13:18 +00:00
|
|
|
path: ./actions
|
|
|
|
- name: Install Actions
|
|
|
|
run: npm install --production --prefix ./actions
|
|
|
|
- name: Run English Please
|
|
|
|
uses: ./actions/english-please
|
|
|
|
with:
|
2020-06-10 07:35:36 +00:00
|
|
|
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
2020-04-13 21:52:52 +00:00
|
|
|
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
2020-04-13 01:13:18 +00:00
|
|
|
cognitiveServicesAPIKey: ${{secrets.AZURE_TEXT_TRANSLATOR_KEY}}
|
|
|
|
nonEnglishLabel: "*english-please"
|
2022-07-25 14:37:32 +00:00
|
|
|
needsMoreInfoLabel: "info-needed"
|
2020-04-13 01:13:18 +00:00
|
|
|
translatorRequestedLabelPrefix: "translation-required-"
|
|
|
|
translatorRequestedLabelColor: "c29cff"
|