]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
Resolve `build-docs.yml`
authorYurii Motov <yurii.motov.monte@gmail.com>
Fri, 17 Apr 2026 14:16:26 +0000 (16:16 +0200)
committerYurii Motov <yurii.motov.monte@gmail.com>
Fri, 17 Apr 2026 14:16:26 +0000 (16:16 +0200)
.github/workflows/build-docs.yml

index dd531666ebfbd8e8561cf788f6e248e27bef6622..003d0734dc291b659387bb19f4ddbbf9d83cb5e1 100644 (file)
@@ -8,6 +8,8 @@ on:
       - opened
       - synchronize
 
+permissions: {}
+
 jobs:
   changes:
     runs-on: ubuntu-latest
@@ -20,6 +22,8 @@ jobs:
     steps:
     - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
     # For pull requests it's not necessary to checkout the code but for the main branch it is
+      with:
+        persist-credentials: false
     - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
       id: filter
       with:
@@ -47,6 +51,8 @@ jobs:
           GITHUB_CONTEXT: ${{ toJson(github) }}
         run: echo "$GITHUB_CONTEXT"
       - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+        with:
+          persist-credentials: false
       - name: Set up Python
         uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
         with:
@@ -54,6 +60,7 @@ jobs:
       - name: Setup uv
         uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
         with:
+          version: "0.11.4"
           enable-cache: true
           cache-dependency-glob: |
             pyproject.toml