Skip to content

Commit 882da84

Browse files
authored
[infra] Fix OneCollector Dangerous-Workflow (#3227)
1 parent b9248b8 commit 882da84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-Exporter.OneCollector-Integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4040
with:
41-
ref: ${{ github.event.pull_request.head.sha || github.ref }} # Run on the fork branch once approved
41+
ref: refs/pull/${{ github.event.pull_request.number }}/merge # Run on the merge commit once approved
4242

4343
- name: Setup dotnet
4444
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0

0 commit comments

Comments
 (0)