From 6db14010fe7eafad326e57704db011203b2759ed Mon Sep 17 00:00:00 2001 From: Athul R T <35709823+athulvis@users.noreply.github.com> Date: Sun, 10 Dec 2023 20:45:43 +0530 Subject: [PATCH] Update commons-update.yml --- .github/workflows/commons-update.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commons-update.yml b/.github/workflows/commons-update.yml index 1f10d83..1b202b4 100644 --- a/.github/workflows/commons-update.yml +++ b/.github/workflows/commons-update.yml @@ -44,7 +44,7 @@ jobs: - name: Generate user files run: | - python -Werror::UserWarning -m pwb.py generate_user_files -site:${{matrix.site}} -user:${{ env.PYWIKIBOT_USERNAME }} -v -debug; + pwb generate_user_files -site:${{matrix.site}} -user:${{ env.PYWIKIBOT_USERNAME }} -v -debug; echo "usernames['commons']['commons'] = '${{ env.PYWIKIBOT_USERNAME }}'" >> user-config.py echo "max_retries = 3" >> user-config.py @@ -58,4 +58,4 @@ jobs: - name: Update Commons timeout-minutes: 10 run: | - python pwb.py wikiupdater + pwb wikiupdater