Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus013 authored Aug 21, 2023
1 parent 04dd0ec commit 781a05e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def build_comment(feedback):
def comment_on_pr(comment):
github = Github(os.getenv('INPUT_TOKEN'))
repo = github.get_repo(os.getenv('GITHUB_REPOSITORY'))
print('PR:', os.getenv('INPUT_PR_NUMBER', '1'))
pull_request = repo.get_pull(int(os.getenv('INPUT_PR_NUMBER', '1')))

print(comment)
Expand Down

0 comments on commit 781a05e

Please sign in to comment.