Skip to content

Commit

Permalink
fix check auto merge condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoerens committed Aug 8, 2024
1 parent 87e799d commit 5327e34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ jobs:
MERGE_LABELS: ""

- name: Check for PR merge
if: ${{ needs.setup.outputs.run_build == 'true' }}
if: ${{ steps.merge_pr.conclusion == 'success' }}
env:
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion scripts/src/precheck/precheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def main():
pr_content_error_msg = ""
if args.check_chart_submission:
pr_content_error_msg = craft_pr_content_error_msg(s)
if not pr_content_error_msg:
if pr_content_error_msg:
print(pr_content_error_msg)
gitutils.add_output("pr-content-error-message", pr_content_error_msg)

Expand Down

0 comments on commit 5327e34

Please sign in to comment.