Skip to content

Commit a5c0802

Browse files
author
james
committed
address review comments
1 parent 9c6962e commit a5c0802

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

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

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,19 @@ on:
66
description:
77
description: A description of the purpose of this job. For human consumption.
88
required: false
9-
ref:
10-
description: The branch in github/codeql to checkout when generating query help.
11-
required: false
12-
default: 'lgtm.com'
139
push:
1410
branches:
1511
- 'lgtm.com'
1612
pull_request:
1713
paths:
1814
- '.github/workflows/generate-query-help-docs.yml'
1915
- 'docs/codeql/query-help/**'
20-
16+
2117
jobs:
2218
build:
2319
runs-on: ubuntu-latest
2420
steps:
25-
- if: github.event.inputs.ref
26-
name: Clone github/codeql (user defined ref)
27-
uses: actions/checkout@v2
28-
with:
29-
path: codeql
30-
ref: ${{ github.event.inputs.ref }}
31-
- if: github.event.inputs.ref == ''
32-
name: Clone github/codeql (default ref)
21+
- name: Clone github/codeql
3322
uses: actions/checkout@v2
3423
with:
3524
path: codeql

0 commit comments

Comments
 (0)