Update generate-query-help-docs.yml

This commit is contained in:
James Fletcher
2020-12-10 09:39:44 +00:00
committed by GitHub
parent 0640d2834d
commit 9c6962ec25

View File

@@ -22,11 +22,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone github/codeql
- 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)
uses: actions/checkout@v2
with:
path: codeql
ref: '{{ github.event.inputs.ref }}'
- name: Clone github/codeql-go
uses: actions/checkout@v2
with: