kylin-code/.github/workflows/english-please.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
1001 B
YAML
Raw Normal View History

2022-06-14 14:37:10 +08: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
if: contains(github.event.issue.labels.*.name, '*english-please')
steps:
- name: Checkout Actions
2024-04-30 20:57:13 +08:00
uses: actions/checkout@v4
2022-06-14 14:37:10 +08:00
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"
2024-04-30 20:57:13 +08:00
needsMoreInfoLabel: "info-needed"
2022-06-14 14:37:10 +08:00
translatorRequestedLabelPrefix: "translation-required-"
translatorRequestedLabelColor: "c29cff"