E56D Merge branch 'master' into fix/added-argon2 · fastapi/fastapi@4234890 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4234890

Browse files
authored
Merge branch 'master' into fix/added-argon2
2 parents 0ebc05a + 450a334 commit 4234890

File tree

387 files changed

+10486
-5592
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

387 files changed

+10486
-5592
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
labels: [lang-all]
2+
body:
3+
- type: markdown
4+
attributes:
5+
value: |
6+
Thanks for your interest in helping translate the FastAPI docs! 🌍
7+
8+
Please follow these instructions carefully to propose a new language translation. 🙏
9+
10+
This structured process helps ensure translations can be properly maintained long-term.
11+
- type: checkboxes
12+
id: checks
13+
attributes:
14+
label: Initial Checks
15+
description: Please confirm and check all the following options.
16+
options:
17+
- label: I checked that this language is not already being translated in FastAPI docs.
18+
required: true
19+
- label: I searched existing discussions to ensure no one else proposed this language.
20+
required: true
21+
- label: I am a native speaker of the language I want to help translate.
22+
required: true
23+
- type: input
24+
id: language
25+
attributes:
26+
label: Target Language
27+
description: What language do you want to translate the FastAPI docs into?
28+
placeholder: e.g. Latin
29+
validations:
30+
required: true
31+
- type: textarea
32+
id: additional_info
33+
attributes:
34+
label: Additional Information
35+
description: Any other relevant information about your translation proposal
36+
- type: markdown
37+
attributes:
38+
value: |
39+
Translations are automatized with AI and then reviewed by native speakers. 🤖 🙋
40+
41+
This allows us to keep them consistent and up-to-date.
42+
43+
If there are several native speakers commenting on this discussion and
44+
committing to help review new translations, the FastAPI team will review it
45+
and potentially make it an official translation. 😎

.github/workflows/build-docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
outputs:
2222
docs: ${{ steps.filter.outputs.docs }}
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v5
2525
# For pull requests it's not necessary to checkout the code but for the main branch it is
2626
- uses: dorny/paths-filter@v3
2727
id: filter
@@ -47,9 +47,9 @@ jobs:
4747
outputs:
4848
langs: ${{ steps.show-langs.outputs.langs }}
4949
steps:
50-
- uses: actions/checkout@v4
50+
- uses: actions/checkout@v5
5151
- name: Set up Python
52-
uses: actions/setup-python@v5
52+
uses: actions/setup-python@v6
5353
with:
5454
python-version: "3.11"
5555
- name: Setup uv
@@ -89,9 +89,9 @@ jobs:
8989
env:
9090
GITHUB_CONTEXT: ${{ toJson(github) }}
9191
run: echo "$GITHUB_CONTEXT"
92-
- uses: actions/checkout@v4
92+
- uses: actions/checkout@v5
9393
- name: Set up Python
94-
uses: actions/setup-python@v5
94+
uses: actions/setup-python@v6
9595
with:
9696
python-version: "3.11"
9797
- name: Setup uv

.github/workflows/contributors.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
env:
2525
GITHUB_CONTEXT: ${{ toJson(github) }}
2626
run: echo "$GITHUB_CONTEXT"
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828
- name: Set up Python
29-
uses: actions/setup-python@v5
29+
uses: actions/setup-python@v6
3030
with:
3131
python-version: "3.11"
3232
- name: Setup uv

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
env:
2424
GITHUB_CONTEXT: ${{ toJson(github) }}
2525
run: echo "$GITHUB_CONTEXT"
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2727
- name: Set up Python
28-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@v6
2929
with:
3030
python-version: "3.11"
3131
- name: Setup uv
@@ -48,7 +48,7 @@ jobs:
4848
run: |
4949
rm -rf ./site
5050
mkdir ./site
51-
- uses: actions/download-artifact@v4
51+
- uses: actions/download-artifact@v5
5252
with:
5353
path: ./site/
5454
pattern: docs-site-*
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "Conflict detector"
2+
on:
3+
push:
4+
pull_request_target:
5+
types: [synchronize]
6+
7+
jobs:
8+
main:
9+
permissions:
10+
contents: read
11+
pull-requests: write
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check if PRs have merge conflicts
15+
uses: eps1lon/actions-label-merge-conflict@v3
16+
with:
17+
dirtyLabel: "conflicts"
18+
repoToken: "${{ secrets.GITHUB_TOKEN }}"
19+
commentOnDirty: "This pull request has a merge conflict that needs to be resolved."

.github/workflows/label-approved.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
env:
2121
GITHUB_CONTEXT: ${{ toJson(github) }}
2222
run: echo "$GITHUB_CONTEXT"
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424
- name: Set up Python
25-
uses: actions/setup-python@v5
25+
uses: actions/setup-python@v6
2626
with:
2727
python-version: "3.11"
2828
- name: Setup uv

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
pull-requests: write
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/labeler@v5
19+
- uses: actions/labeler@v6
2020
if: ${{ github.event.action != 'labeled' && github.event.action != 'unlabeled' }}
2121
- run: echo "Done adding labels"
2222
# Run this after labeler applied labels

.github/workflows/latest-changes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
env:
2525
GITHUB_CONTEXT: ${{ toJson(github) }}
2626
run: echo "$GITHUB_CONTEXT"
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828
with:
2929
# To allow latest-changes to commit to the main branch
3030
token: ${{ secrets.FASTAPI_LATEST_CHANGES }}
@@ -34,7 +34,7 @@ jobs:
3434
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
3535
with:
3636
limit-access-to-actor: true
37-
- uses: tiangolo/latest-changes@0.3.2
37+
- uses: tiangolo/latest-changes@0.4.0
3838
with:
3939
token: ${{ secrets.GITHUB_TOKEN }}
4040
latest_changes_file: docs/en/docs/release-notes.md

.github/workflows/notify-translations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
env:
2929
GITHUB_CONTEXT: ${{ toJson(github) }}
3030
run: echo "$GITHUB_CONTEXT"
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v5
3232
- name: Set up Python
33-
uses: actions/setup-python@v5
33+
uses: actions/setup-python@v6
3434
with:
3535
python-version: "3.11"
3636
- name: Setup uv

.github/workflows/people.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
env:
2525
GITHUB_CONTEXT: ${{ toJson(github) }}
2626
run: echo "$GITHUB_CONTEXT"
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828
- name: Set up Python
29-
uses: actions/setup-python@v5
29+
uses: actions/setup-python@v6
3030
with:
3131
python-version: "3.11"
3232
- name: Setup uv

0 commit comments

Comments
 (0)
0