Skip to content

Commit

Permalink
Merge pull request #141 from godatadriven/move-pr-comment-to-gh
Browse files Browse the repository at this point in the history
Correcting logic to work in Docker
  • Loading branch information
pgoslatara authored Aug 15, 2024
2 parents 573e9de + dfe495c commit 6ac11b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbt_bouncer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def create_github_comment_file(failed_checks: List[List[str]]) -> None:

logger.debug(f"{md_formatted_comment=}")

if os.environ.get("CI", None):
if os.environ.get("GITHUB_REPOSITORY", None) is not None:
comment_file = "/app/github-comment.md"
else:
comment_file = "github-comment.md"
Expand Down

0 comments on commit 6ac11b8

Please sign in to comment.