Skip to content

Commit

Permalink
releasing v0.1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsadler-branch committed Aug 11, 2022
1 parent 450b529 commit e480983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions py-github-helper/utils/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,10 @@ def get_files_changed_during_pr(
"""Gets a pull_request id, by pulling PRs that include commit_id."""
headers = build_headers(token, username, password)
curr_endpoint = f"{base_url}/repos/{organization}/{repository}/pulls/{pull_request_id}/files"
logging.error(f"URL: {curr_endpoint}")
logging.error(headers)
logging.info(f"URL: {curr_endpoint}")
response = requests.get(curr_endpoint, headers=headers)
json_response = json.loads(response.text)
files = []
logging.error(json_response)
for file in json_response:
files.append(file['filename'])
logging.info(f"files: {files}")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pathlib import Path


VERSION = '0.1.13'
VERSION = '0.1.14'
DESCRIPTION = 'Python Script for interacting with Github API'
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
Expand Down

0 comments on commit e480983

Please sign in to comment.