Skip to content

Commit a2b4db3

Browse files
committed
run only if labels contain our boy
1 parent 4cf60c8 commit a2b4db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/generate-go-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
generate_docs_new_pr:
12-
if: ${{ github.event.pull_request.labels || contains(github.event.issue.labels.*.name, 'generate_go_docs') }}
12+
if: ${{ contains(github.event.issue.labels.*.name, 'generate_go_docs') }}
1313
runs-on: ubuntu-latest
1414
permissions:
1515
contents: read

0 commit comments

Comments
 (0)