We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f4d45b commit 9c93bc8Copy full SHA for 9c93bc8
actions/setup-environment/action.yml
@@ -12,7 +12,7 @@ inputs:
12
ref:
13
description: 'The ref to checkout'
14
required: false
15
- default: ''
+ default: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}
16
fetch-depth:
17
description: 'The fetch depth'
18
0 commit comments