3131
3232 steps :
3333 - name : Grab the repo src
34- uses : actions/checkout@v4
34+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3535 with :
3636 ref : ${{ env.I18N_BRANCH }}
37+ persist-credentials : false
3738
3839 - name : List languages
3940 id : languages
@@ -53,12 +54,13 @@ jobs:
5354
5455 steps :
5556 - name : Grab the repo src
56- uses : actions/checkout@v4
57+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5758 with :
5859 ref : ${{ env.I18N_BRANCH }}
60+ persist-credentials : false
5961
6062 - name : Set up Python
61- uses : actions/setup-python@v5
63+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
6264 with :
6365 python-version : >-
6466 3.10
@@ -67,15 +69,19 @@ jobs:
6769 run : python -m pip install --upgrade nox virtualenv sphinx-lint
6870
6971 - name : Set Sphinx problem matcher
70- uses : sphinx-doc/github-problem-matcher@v1.0
72+ uses : sphinx-doc/github-problem-matcher@1f74d6599f4a5e89a20d3c99aab4e6a70f7bda0f # v1.1
7173
7274 - name : Build translated docs in ${{ matrix.language }}
73- run : nox -s build -- -q -D language=${{ matrix.language }}
75+ run : nox -s build -- -q -D language=${LANGUAGE}
76+ env :
77+ LANGUAGE : ${{ matrix.language }}
7478
7579 - name : Set Sphinx Lint problem matcher
7680 if : always()
7781 run : echo '::add-matcher::.github/sphinx_lint_matcher.json'
7882
7983 - name : Lint translation file
8084 if : always()
81- run : sphinx-lint locales/${{ matrix.language }}/LC_MESSAGES/messages.po
85+ run : sphinx-lint locales/${LANGUAGE}/LC_MESSAGES/messages.po
86+ env :
87+ LANGUAGE : ${{ matrix.language }}
0 commit comments