Skip to content

Commit

Permalink
update script and test 08
Browse files Browse the repository at this point in the history
  • Loading branch information
natan-dias committed Aug 9, 2024
1 parent 2e56d8f commit 4e3b656
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/python_auto_pr_approve.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

# Get the repository and pull request from the github context
repository = gh.get_repo(os.getenv('GITHUB_REPOSITORY'))
pull_request = int(os.getenv('PULL_REQUEST_NUMBER'))
pull_request_number = int(os.getenv('PULL_REQUEST_NUMBER'))
pull_request = repository.get_pull(int(pull_request_number))

#os.getenv('GITHUB_REF').split('/')[-1]
#if pull_request_number != 'merge':
Expand Down

0 comments on commit 4e3b656

Please sign in to comment.