mirror of https://github.com/tiangolo/fastapi.git
👷 Tweak config for translate GitHub Action workflow
This commit is contained in:
parent
04519af098
commit
7272569bc2
|
|
@ -1,10 +1,8 @@
|
||||||
name: Translate
|
name: Translate
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# TODO: remove this
|
schedule:
|
||||||
push:
|
- cron: "0 5 15 * *" # Run at 05:00 on the 15 of every month
|
||||||
branches:
|
|
||||||
- translate-again
|
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
|
@ -71,11 +69,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# TODO: uncomment this
|
lang: ${{ fromJson(needs.langs.outputs.langs) }}
|
||||||
# lang: ${{ fromJson(needs.langs.outputs.langs) }}
|
command: ${{ fromJson(needs.langs.outputs.commands) }}
|
||||||
# command: ${{ fromJson(needs.langs.outputs.commands) }}
|
|
||||||
lang: ["es"]
|
|
||||||
command: ["add-missing"]
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue