Switch to environment files. Apply GHSA-mfwh-5m23-j46w (CVE-2020-15228)

This commit is contained in:
Shivam Mathur
2020-10-15 13:55:51 +05:30
parent 2a3920f0a8
commit d07beb70e1
7 changed files with 261 additions and 162 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ configure_composer() {
exit 1;
fi
composer -q global config process-timeout 0
echo "::add-path::/home/$USER/.composer/vendor/bin"
echo "/home/$USER/.composer/vendor/bin" >> $GITHUB_PATH
if [ -n "$COMPOSER_TOKEN" ]; then
composer -q global config github-oauth.github.com "$COMPOSER_TOKEN"
fi