Skip to content

Commit 3f9a016

Browse files
committed
bugfix for previous commit, pass through status context when fetching
docker build targets
1 parent e88d2d6 commit 3f9a016

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

obspy_github_api/obspy_github_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def get_docker_build_targets(
334334
for name in branches:
335335
branch = repo.branch(name)
336336
sha = branch.commit.sha
337-
status = get_commit_status(sha)
337+
status = get_commit_status(sha, context=context)
338338
if status not in status_needs_build:
339339
continue
340340
# branches don't have a PR number, use dummy placeholder 'XXX' so
@@ -346,7 +346,7 @@ def get_docker_build_targets(
346346
for pr in open_prs:
347347
fork = pr.head.user
348348
sha = pr.head.sha
349-
status = get_commit_status(sha)
349+
status = get_commit_status(sha, context=context)
350350
if status not in status_needs_build:
351351
continue
352352
targets.append('{}_{}:{}'.format(str(pr.number), fork, sha))

0 commit comments

Comments
 (0)