Skip to content

Commit 76c312e

Browse files
authored
chore: fix docs dry-run job
1 parent 242e2cb commit 76c312e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: GoogleCloudPlatform/php-tools/.github/workflows/doctum.yml@main
2020
with:
2121
title: "Google Cloud PHP Client"
22-
default_version: ${{ inputs.tag || github.ref_name }}
22+
default_version: ${{ inputs.tag || github.head_ref || github.ref_name }}
2323
exclude_file: aliases.php
2424
tag_pattern: "v2.*"
2525
dry_run: ${{ github.event_name == 'pull_request' }}

0 commit comments

Comments
 (0)