Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f18dad7

Browse files
authored
Add list-obsolete job to check.yml
1 parent bba4914 commit f18dad7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/check.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,21 @@ jobs:
205205
with:
206206
name: compendium
207207
path: compendium.po
208+
209+
# List PO files that no longer have a corresponding page in Python docs
210+
list-obsolete:
211+
runs-on: ubuntu-latest
212+
steps:
213+
- name: Check out ${{ github.repository }}
214+
uses: actions/[email protected]
215+
216+
- name: Set up Python 3
217+
uses: actions/[email protected]
218+
with:
219+
python-version: '3'
220+
221+
- name: Generate POT files
222+
run: make pot
223+
224+
- name: List obsolete PO files, if any
225+
run: python3 .github/scripts/list-obsolete.py

0 commit comments

Comments
 (0)