Skip to content

Commit baf3c53

Browse files
committed
add dry run
1 parent bbfc55f commit baf3c53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docs.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@ on:
88
tag:
99
description: 'Tag to generate documentation for'
1010
required: false
11+
pull_request:
1112

1213
permissions:
1314
contents: write
1415

1516
jobs:
1617
docs:
1718
name: "Generate and Deploy Documentation"
18-
uses: GoogleCloudPlatform/php-tools/.github/workflows/doctum.yml@doctum
19+
uses: GoogleCloudPlatform/php-tools/.github/workflows/doctum.yml@main
1920
with:
2021
title: "Google Cloud PHP Client"
2122
default_version: ${{ inputs.tag || github.ref_name }}
2223
exclude_file: aliases.php
2324
tag_pattern: "v2.*"
25+
dry_run: ${{ github.event_name == 'pull_request' }}
2426

0 commit comments

Comments
 (0)