mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-15 07:28:05 +00:00
use oidc for deep classifier (#208382)
* use oidc for deep classifier
* secrets -> vars
* try allow-no-subscriptions
* Update permissions in deep-classifier-runner.yml
* 💄
* update ref
This commit is contained in:
15
.github/workflows/deep-classifier-runner.yml
vendored
15
.github/workflows/deep-classifier-runner.yml
vendored
@@ -1,4 +1,9 @@
|
||||
name: "Deep Classifier: Runner"
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: 0 * * * *
|
||||
@@ -9,7 +14,13 @@ on:
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
environment: main
|
||||
steps:
|
||||
- uses: azure/login@v1
|
||||
with:
|
||||
client-id: ${{ vars.AZURE_CLIENT_ID }}
|
||||
tenant-id: ${{ vars.AZURE_TENANT_ID }}
|
||||
allow-no-subscriptions: true
|
||||
- name: Checkout Actions
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -47,8 +58,4 @@ jobs:
|
||||
with:
|
||||
configPath: classifier
|
||||
allowLabels: "info-needed|new release|error-telemetry|*english-please|translation-required"
|
||||
tenantId: ${{secrets.TOOLS_TENANT_ID}}
|
||||
clientId: ${{secrets.TOOLS_CLIENT_ID}}
|
||||
clientSecret: ${{secrets.TOOLS_CLIENT_SECRET}}
|
||||
clientScope: ${{secrets.TOOLS_CLIENT_SCOPE}}
|
||||
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
||||
|
||||
Reference in New Issue
Block a user