Internationalisation: Use the reusable workflows from grafana-github-actions (#106465)
use the reusable workflows from grafana-github-actions
This commit is contained in:
@@ -9,36 +9,6 @@ on:
|
||||
|
||||
jobs:
|
||||
create-tasks-in-crowdin:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write # needed to get vault secrets
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: "Get vault secrets"
|
||||
id: vault-secrets
|
||||
uses: grafana/shared-workflows/actions/get-vault-secrets@main # zizmor: ignore[unpinned-uses]
|
||||
with:
|
||||
# Vault secret paths:
|
||||
# - ci/repo/grafana/grafana/grafana_frontend_platform_crowdin_bot
|
||||
repo_secrets: |
|
||||
CROWDIN_TOKEN=grafana_frontend_platform_crowdin_bot:access_token
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- run: yarn install --immutable --check-cache
|
||||
|
||||
- name: Create tasks
|
||||
env:
|
||||
CROWDIN_PROJECT_ID: '5'
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ env.CROWDIN_TOKEN }}
|
||||
run: node --experimental-strip-types ./.github/workflows/scripts/crowdin/create-tasks.ts
|
||||
uses: grafana/grafana-github-actions/.github/workflows/crowdin-create-tasks.yml@main
|
||||
with:
|
||||
crowdin_project_id: 5
|
||||
|
||||
Reference in New Issue
Block a user