Skip to content

Commit 546ca16

Browse files
committed
Resolve build-docs.yml
1 parent afee5ab commit 546ca16

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-docs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- opened
99
- synchronize
1010

11+
permissions: {}
12+
1113
jobs:
1214
changes:
1315
runs-on: ubuntu-latest
@@ -20,6 +22,8 @@ jobs:
2022
steps:
2123
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2224
# For pull requests it's not necessary to checkout the code but for the main branch it is
25+
with:
26+
persist-credentials: false
2327
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
2428
id: filter
2529
with:
@@ -47,13 +51,16 @@ jobs:
4751
GITHUB_CONTEXT: ${{ toJson(github) }}
4852
run: echo "$GITHUB_CONTEXT"
4953
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
54+
with:
55+
persist-credentials: false
5056
- name: Set up Python
5157
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5258
with:
5359
python-version-file: ".python-version"
5460
- name: Setup uv
5561
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
5662
with:
63+
version: "0.11.4"
5764
enable-cache: true
5865
cache-dependency-glob: |
5966
pyproject.toml

0 commit comments

Comments
 (0)