address review comments

This commit is contained in:
james
2020-12-11 17:29:22 +00:00
parent 74f25c1b5a
commit 5924b6cf61

View File

@@ -6,29 +6,18 @@ on:
description:
description: A description of the purpose of this job. For human consumption.
required: false
ref:
description: The branch in github/codeql to checkout when generating query help.
required: false
default: 'lgtm.com'
push:
branches:
- 'lgtm.com'
pull_request:
paths:
- 'docs/codeql/query-help/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- if: github.event.inputs.ref
name: Clone github/codeql (user defined ref)
uses: actions/checkout@v2
with:
path: codeql
ref: ${{ github.event.inputs.ref }}
- if: github.event.inputs.ref == ''
name: Clone github/codeql (default ref)
- name: Clone github/codeql
uses: actions/checkout@v2
with:
path: codeql