Skip to content

Commit 691014b

Browse files
sushant-susetomschr
authored andcommitted
ci: fix user issue in ubuntu
Signed-off-by: sushant-suse <[email protected]>
1 parent fbe899e commit 691014b

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
container:
4747
# image: registry.opensuse.org/documentation/containers/15.6/opensuse-daps-toolchain:latest
4848
image: ghcr.io/opensuse/doc-container:latest
49+
options: --user 0:0
4950
steps:
5051
- name: Checkout repository
5152
uses: actions/checkout@v6

src/docbuild/utils/concurrency.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ async def producer[T](
7272
except (asyncio.QueueFull, Exception):
7373
break
7474

75+
7576
async def worker[T, R](
7677
worker_fn: Callable[[T], Awaitable[R]],
7778
input_queue: asyncio.Queue,
@@ -105,6 +106,7 @@ async def worker[T, R](
105106
finally:
106107
input_queue.task_done()
107108

109+
108110
async def run_all[T, R](
109111
items: Iterable[T] | AsyncIterableABC[T],
110112
worker_fn: Callable[[T], Awaitable[R]],

0 commit comments

Comments
 (0)