A script that removes the ban-sensitive-files
module from the devDependencies
of microservices hosted on GitHub Enterprise Server. The script performs the following actions for each repository:
- Clone the repository to a local directory
- Create a new branch named
feature/remove-ban-sensitive-files
from the given branch name - Remove the
ban-sensitive-files
module from thedevDependencies
of thepackage.json
file - Rebuild the
package-lock.json
file - Commit the changes to the new branch and push them to the remote repository
- Create a pull request with the title "Remove ban-sensitive-files module from dev dependencies" and a message detailing the changes made.