Chore: Clean up completed tasks in CrowdIn (#105118)

* clean up tasks as part of action

* split into separate files/steps

* remove unnecessary comment

* update CODEOWNERS
This commit is contained in:
Ashley Harrison
2025-05-08 17:12:28 +01:00
committed by GitHub
parent 543ebd27bf
commit a049ddece7
4 changed files with 83 additions and 5 deletions
@@ -1,4 +1,4 @@
name: Crowdin Create Tasks
name: Crowdin automatic task management
on:
workflow_dispatch:
@@ -37,6 +37,12 @@ jobs:
- run: yarn install --immutable --check-cache
- name: Clean up completed tasks
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
run: node --experimental-strip-types ./.github/workflows/scripts/crowdin/cleanup-tasks.ts
- name: Create tasks
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}