Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4edba6d

Browse files
author
Nils Lindemann
authored
Merge branch 'tiangolo:master' into de/docs/tutorial/security/oauth2-jwt.md
2 parents 44a146f + e90fc7b commit 4edba6d

File tree

145 files changed

+5116
-664
lines changed

Some content is hidden

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

145 files changed

+5116
-664
lines changed

.github/actions/comment-docs-preview-in-pr/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
FROM python:3.9
1+
FROM python:3.10
22

3-
RUN pip install httpx "pydantic==1.5.1" pygithub
3+
COPY ./requirements.txt /app/requirements.txt
4+
5+
RUN pip install -r /app/requirements.txt
46

57
COPY ./app /app
68

.github/actions/comment-docs-preview-in-pr/app/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
import httpx
77
from github import Github
88
from github.PullRequest import PullRequest
9-
from pydantic import BaseModel, BaseSettings, SecretStr, ValidationError
9+
from pydantic import BaseModel, SecretStr, ValidationError
10+
from pydantic_settings import BaseSettings
1011

1112
github_api = "https://api.github.com"
1213

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PyGithub
2+
pydantic>=2.5.3,<3.0.0
3+
pydantic-settings>=2.1.0,<3.0.0
4+
httpx

.github/dependabot.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ updates:
1111
- package-ecosystem: "pip"
1212
directory: "/"
1313
schedule:
14-
interval: "daily"
14+
interval: "monthly"
15+
groups:
16+
python-packages:
17+
patterns:
18+
- "*"
1519
commit-message:
1620
prefix:

.github/workflows/build-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
steps:
4040
- uses: actions/checkout@v4
4141
- name: Set up Python
42-
uses: actions/setup-python@v4
42+
uses: actions/setup-python@v5
4343
with:
4444
python-version: "3.11"
4545
- uses: actions/cache@v3
@@ -80,7 +80,7 @@ jobs:
8080
run: echo "$GITHUB_CONTEXT"
8181
- uses: actions/checkout@v4
8282
- name: Set up Python
83-
uses: actions/setup-python@v4
83+
uses: actions/setup-python@v5
8484
with:
8585
python-version: "3.11"
8686
- uses: actions/cache@v3

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
mkdir ./site
2222
- name: Download Artifact Docs
2323
id: download
24-
uses: dawidd6/action-download-artifact@v2.28.0
24+
uses: dawidd6/action-download-artifact@v3.0.0
2525
with:
2626
if_no_artifact_found: ignore
2727
github_token: ${{ secrets.FASTAPI_PREVIEW_DOCS_DOWNLOAD_ARTIFACTS }}

.github/workflows/label-approved.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Label Approved
33
on:
44
schedule:
55
- cron: "0 12 * * *"
6+
workflow_dispatch:
67

78
jobs:
89
label-approved:
@@ -13,6 +14,6 @@ jobs:
1314
env:
1415
GITHUB_CONTEXT: ${{ toJson(github) }}
1516
run: echo "$GITHUB_CONTEXT"
16-
- uses: docker://tiangolo/label-approved:0.0.2
17+
- uses: docker://tiangolo/label-approved:0.0.4
1718
with:
1819
token: ${{ secrets.FASTAPI_LABEL_APPROVED }}

.github/workflows/latest-changes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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: docker://tiangolo/latest-changes:0.2.0
37+
- uses: docker://tiangolo/latest-changes:0.3.0
3838
# - uses: tiangolo/latest-changes@main
3939
with:
4040
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
run: echo "$GITHUB_CONTEXT"
1616
- uses: actions/checkout@v4
1717
- name: Set up Python
18-
uses: actions/setup-python@v4
18+
uses: actions/setup-python@v5
1919
with:
2020
python-version: "3.10"
2121
# Issue ref: https://github.com/actions/setup-python/issues/436
@@ -32,7 +32,7 @@ jobs:
3232
- name: Build distribution
3333
run: python -m build
3434
- name: Publish
35-
uses: pypa/[email protected].10
35+
uses: pypa/[email protected].11
3636
with:
3737
password: ${{ secrets.PYPI_API_TOKEN }}
3838
- name: Dump GitHub context

.github/workflows/smokeshow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
env:
1919
GITHUB_CONTEXT: ${{ toJson(github) }}
2020
run: echo "$GITHUB_CONTEXT"
21-
- uses: actions/setup-python@v4
21+
- uses: actions/setup-python@v5
2222
with:
2323
python-version: '3.9'
2424

2525
- run: pip install smokeshow
2626

27-
- uses: dawidd6/action-download-artifact@v2.28.0
27+
- uses: dawidd6/action-download-artifact@v3.0.0
2828
with:
2929
github_token: ${{ secrets.FASTAPI_SMOKESHOW_DOWNLOAD_ARTIFACTS }}
3030
workflow: test.yml

0 commit comments

Comments
 (0)