Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
keplervital committed Aug 8, 2023
1 parent b034393 commit 25be57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/pullrequest/create/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def create_pull_request(inputs: ActionInputs):
files_to_add = glob.glob("*")
entries = repo.index.add(files_to_add)

if entries.count() == 0:
if len(entries) == 0:
print("There are no changes to commit.")
outputs.print()
return
Expand Down

0 comments on commit 25be57a

Please sign in to comment.