mirror of https://github.com/tiangolo/fastapi.git
👷 Fix checkout GitHub Action fetch-depth
This commit is contained in:
parent
41d1b84bd5
commit
fb90c69a7e
|
|
@ -1,6 +1,11 @@
|
||||||
name: Translate
|
name: Translate
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
# TODO: remove this
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- translate-again
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
debug_enabled:
|
debug_enabled:
|
||||||
|
|
@ -66,8 +71,11 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
lang: ${{ fromJson(needs.langs.outputs.langs) }}
|
# TODO: uncomment this
|
||||||
command: ${{ fromJson(needs.langs.outputs.commands) }}
|
# lang: ${{ fromJson(needs.langs.outputs.langs) }}
|
||||||
|
# command: ${{ fromJson(needs.langs.outputs.commands) }}
|
||||||
|
lang: ["es"]
|
||||||
|
command: ["update-outdated"]
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -76,6 +84,8 @@ jobs:
|
||||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||||
run: echo "$GITHUB_CONTEXT"
|
run: echo "$GITHUB_CONTEXT"
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v6
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue