Skip to content

Commit

Permalink
Merge pull request #152 from TheDragonCode/3.x
Browse files Browse the repository at this point in the history
Set auth token to GitHub
  • Loading branch information
andrey-helldar authored Jun 11, 2023
2 parents 3eba284 + 32b58c1 commit 9f34766
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shell/plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

IS_PLUGINS_CONFIG=1

[ ! -z "${INPUT_GITHUB_TOKEN}" ] && {
composer global config github-oauth.github.com token ${INPUT_GITHUB_TOKEN}
};

composer global config --no-plugins allow-plugins.dragon-code/codestyler true
composer global config --no-plugins allow-plugins.ergebnis/composer-normalize true
composer global config --no-plugins allow-plugins.symfony/thanks true
Expand Down

0 comments on commit 9f34766

Please sign in to comment.