taichi / actions-package-update

keeps npm dependencies up-to-date by making pull requests from GitHub Actions or CI.
64 stars 14 forks source link

fix: reset and clean repo before runnnig actions-package-update to prevent unwanted commits #21

Closed Ghustavh97 closed 3 years ago

Ghustavh97 commented 3 years ago

This pull request will fix a bug I found where the updater is now commiting its own files to a repo. This was caused by my previous pull requests (#19 #20) that moved the main Dockerfile to a different location in order to support node version control. After the fix only the package.json and yarn files should be updated and commited when an update happens.

Before Fix

wrong

After Fix

correct

Test

Pull Request

please ignore the .github/workflows/schedule.yml in files changed, it was cause by a force push I did after I took the sceenshots.

@taichi