Skip to content

Commit

Permalink
Merge pull request #16 from LukaszSielski/extract_commons
Browse files Browse the repository at this point in the history
test
  • Loading branch information
LukaszSielski authored Sep 19, 2024
2 parents 3448194 + aa89422 commit 6073f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gh_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class GitHubCli:
def extract_data_from_pr_body(self, commit_sha: str, pattern: re.Pattern):
prBody = None
try:
prBody = subprocess.check_output(f'gh pr list --json body --state merged --search {commit_sha}', text=True)
prBody = subprocess.check_output(f'gh pr list --json body --state merged --search {commit_sha}', shell=True, text=True)
except subprocess.CalledProcessError as e:
raise Exception(f'Failed to retrieve PR body! {e.stderr}')
print(prBody)
Expand Down

0 comments on commit 6073f50

Please sign in to comment.