Skip to content

Commit cb8801d

Browse files
authored
chore(setup): Assume availability of registry mirror in more cases (#6682)
* chore(setup): Assume dependabot can access registry mirror * Apply suggestion from @davidkna-sap * Apply suggestion from @davidkna-sap
1 parent c94d39d commit cb8801d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ runs:
5151
env:
5252
REGISTRY_URL: ${{ inputs.registry-url }}
5353
REGISTRY_TOKEN: ${{ inputs.registry-token }}
54-
IS_FORK: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login == 'sap' && 'false' || 'true' }}
54+
IS_FORK: ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == 'sap' || github.event.pull_request.user.login == 'dependabot[bot]') && 'false' || 'true' }}
5555
shell: bash
5656
run: |
5757
if [[ -n "$REGISTRY_URL" ]]; then

0 commit comments

Comments
 (0)