yes thanks
just added this in yaml and it works.
- name: reset commit
run: git filter-branch --force --index-filter "git rm --cached --ignore-unmatch output_sample.mp4" --prune-empty --tag-name-filter cat -- --all
reference followed this.