Skip to content

Commit 0640d28

Browse files
authored
Update generate-query-help-docs.yml
1 parent 66c756b commit 0640d28

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/generate-query-help-docs.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@ name: Generate CodeQL query help documentation using Sphinx
33
on:
44
workflow_dispatch:
55
inputs:
6-
description:
7-
description: A description of the purpose of this job. For human consumption.
8-
required: false
6+
description:
7+
description: A description of the purpose of this job. For human consumption.
8+
required: false
9+
ref:
10+
description: The branch in github/codeql to checkout when generating query help.
11+
required: false
12+
default: 'lgtm.com'
913
push:
1014
branches:
1115
- 'lgtm.com'
@@ -21,7 +25,8 @@ jobs:
2125
- name: Clone github/codeql
2226
uses: actions/checkout@v2
2327
with:
24-
path: codeql
28+
path: codeql
29+
ref: '{{ github.event.inputs.ref }}'
2530
- name: Clone github/codeql-go
2631
uses: actions/checkout@v2
2732
with:

0 commit comments

Comments
 (0)