Actions: Pin to fixed version of Sphinx Action

Better for security to fix the commit SHA of the external Action, rather than specifying a branch or tag.
This commit is contained in:
Aditya Sharad
2020-12-02 09:56:25 -08:00
committed by GitHub
parent 91c96ada4f
commit 38ab87e5b1

View File

@@ -43,7 +43,7 @@ jobs:
run: |
PATH="$PATH:codeql-cli/codeql" python codeql/docs/codeql/query-help-markdown.py
- name: Run Sphinx for query help
uses: ammaraskar/sphinx-action@master
uses: ammaraskar/sphinx-action@8b4f60114d7fd1faeba1a712269168508d4750d2 # v0.4
with:
docs-folder: "query-help/"
pre-build-command: "python -m pip install --upgrade recommonmark"