Skip to content

Commit

Permalink
[release:0.5.3]
Browse files Browse the repository at this point in the history
  • Loading branch information
heitorpolidoro committed Apr 30, 2024
1 parent 78e551a commit 4804beb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Merge master into production
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/managers/pull_request_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ def manage(event: CheckSuiteRequestedEvent) -> NoReturn:
event.check_suite.head_sha,
"Initializing...",
)
summary = []
if head_branch != repository.default_branch:
pull_request = get_or_create_pull_request(repository, head_branch, check_run)
auto_merge_enabled = enable_auto_merge(pull_request, check_run)

summary = []
if pull_request.user.login == Config.BOT_NAME:
summary.append(f"Pull Request #{pull_request.number} created")
else:
Expand Down

0 comments on commit 4804beb

Please sign in to comment.