Skip to content

Commit 0e6c337

Browse files
authored
Change ref for head_branch (DataDog#21646)
1 parent 2a43f21 commit 0e6c337

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/measure-disk-usage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
--commit ${{ github.event.workflow_run.head_sha }} \
4242
--format json"
4343
44-
if [ "${{ github.event.workflow_run.event }}" = "push" ] && [ "${{ github.ref_name }}" = "master" ]; then
44+
if [ "${{ github.event.workflow_run.event }}" = "push" ] && [ "${{ github.event.workflow_run.head_branch }}" = "master" ]; then
4545
cmd="$cmd --to-dd-key ${{ secrets.DD_API_KEY }}"
4646
fi
4747

0 commit comments

Comments
 (0)