Skip to content

Commit cd311d2

Browse files
committed
Get commit sha properly
1 parent 24cf260 commit cd311d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def main():
9494
print(f'Removed {file_path}')
9595

9696
if pushed_change:
97-
commit_sha = pushed_change['commit'][:SHORT_SHA_LEN]
97+
commit_sha = pushed_change['commit'].sha[:SHORT_SHA_LEN]
9898
print(f'Pushed {commit_sha} to {branch}')
9999
else:
100100
print('No changes to push')

0 commit comments

Comments
 (0)