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

index 6180501bbfd36d4338d7da9a078c403d0973a3e4..02bb51773175f34db000dcd33c1986ae5456a30d 100644 (file)
@@ -11,6 +11,8 @@ on:
         required: false
         default: 'false'
 
+permissions: {}
+
 jobs:
   publish:
     runs-on: ubuntu-latest
@@ -23,12 +25,16 @@ 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:
           python-version-file: ".python-version"
       - name: Install uv
         uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
+        with:
+          version: "0.11.4"
       - name: Build distribution
         run: uv build
       - name: Publish