Last active
November 29, 2019 06:37
-
-
Save emilfolino/2b2d41fca551598dc62f5a224289ff69 to your computer and use it in GitHub Desktop.
vulnerabilities
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
repos=("slideorama" "auth" "showyourcity" "jsramverk.me" "ramverk2-me" "me-vue" "me-angular" "simulate-stock" "callbacks" "jsramverk" "gomoku") | |
for repo in "${repos[@]}" | |
do | |
echo "$repo" | |
if [[ ! -d "$repo" ]]; then | |
git clone "[email protected]:emilfolino/$repo.git" | |
fi | |
cd "$repo" && git pull && npm audit fix && git commit -a -m "Fixed vulnerabilities" && git push && cd .. | |
pwd | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment