diff --git a/action.yml b/action.yml index ea7a224..fbcff76 100644 --- a/action.yml +++ b/action.yml @@ -11,6 +11,10 @@ inputs: description: 'The version of PHP to use.' required: false default: '8.3' + composer-token: + description: 'Token for Composer authentication.' + required: false + default: '' composer-version: description: 'The version of Composer to use.' required: false @@ -52,8 +56,9 @@ runs: coverage: none - id: configure-composer + if: inputs.composer-token != '' name: 'Configure Composer GitHub Token' - run: composer config --global --auth github-oauth.github.com ${{ github.token }} + run: composer config --global --auth github-oauth.github.com ${{ inputs.composer-token }} shell: bash - id: download-satis