File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -72,12 +72,16 @@ jobs:
7272 uses : sphinx-doc/github-problem-matcher@1f74d6599f4a5e89a20d3c99aab4e6a70f7bda0f # v1.1
7373
7474 - name : Build translated docs in ${{ matrix.language }}
75- run : nox -s build -- -q -D language=${{ matrix.language }}
75+ run : nox -s build -- -q -D language=${LANGUAGE}
76+ env :
77+ LANGUAGE : ${{ matrix.language }}
7678
7779 - name : Set Sphinx Lint problem matcher
7880 if : always()
7981 run : echo '::add-matcher::.github/sphinx_lint_matcher.json'
8082
8183 - name : Lint translation file
8284 if : always()
83- 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 }}
Original file line number Diff line number Diff line change 1717 runs-on : ubuntu-latest
1818 if : github.repository_owner == 'pypa'
1919
20+ permissions :
21+ contents : write # to push to I18N_BRANCH
22+
2023 steps :
2124 - name : Grab the repo src
2225 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4952 run: |
5053 sh -x
5154
52- git merge '${{ github.event.repository.default_branch }}'
55+ git merge "${DEFAULT_BRANCH}"
56+ env:
57+ DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
5358
5459 - name : Set up Python
5560 uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
You can’t perform that action at this time.
0 commit comments