diff --git a/action.yml b/action.yml index aecd94eee..2e6850567 100644 --- a/action.yml +++ b/action.yml @@ -163,7 +163,7 @@ runs: uses: oven-sh/setup-bun@3d267786b128fe76c2f16a390aa2448b815359f3 # https://github.com/oven-sh/setup-bun/releases/tag/v2.1.2 with: bun-version: 1.3.6 - token: ${{ inputs.github_token || github.token }} + token: ${{ github.server_url == 'https://github.com' && (inputs.github_token || github.token) || '' }} - name: Setup Custom Bun Path if: inputs.path_to_bun_executable != ''