Skip to content

Commit 9f03bd1

Browse files
committed
[CI] Only declare git repo safe when building docs
1 parent dd818fd commit 9f03bd1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
DEBIAN_FRONTEND: noninteractive
3939
- uses: actions/checkout@v4
4040
- name: "Declare git repo safe"
41+
if: ${{ matrix.build_docs }}
4142
# In the docker container the repo is owned by 1001:123, causing the
4243
# following error when running git commands:
4344
#

0 commit comments

Comments
 (0)