Skip to content

Commit

Permalink
Run pre-commit on conflict files before adding them
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
  • Loading branch information
s0undt3ch committed Aug 12, 2022
1 parent 8c16792 commit d191918
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ jobs:
for f in $(git status | grep 'both modified' | awk '{ print $3 }')
do
git checkout --theirs $f
pre-commit run -av --files $f
git add $f
done
git commit -a -m "Merge develop into stable(auto resolving conflicts to the develop version)"
Expand Down

0 comments on commit d191918

Please sign in to comment.