Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057908?usp=email )
Change subject: [tests] Add username to commons:beta ......................................................................
[tests] Add username to commons:beta
Change-Id: I60fa8a227aa90c9f88512a089b9a32de4abd448d --- M .github/workflows/oauth_tests-ci.yml 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/.github/workflows/oauth_tests-ci.yml b/.github/workflows/oauth_tests-ci.yml index dc8c28d..26b5e80 100644 --- a/.github/workflows/oauth_tests-ci.yml +++ b/.github/workflows/oauth_tests-ci.yml @@ -90,6 +90,7 @@ - name: Generate user files run: | python -Werror::UserWarning -m pwb generate_user_files -family:${{matrix.family}} -lang:${{matrix.code}} -user:${{ env.PYWIKIBOT_USERNAME }} -v -debug; + echo "usernames['commons']['beta'] = '${{ env.PYWIKIBOT_USERNAME }}'" >> user-config.py echo "authenticate['${{ matrix.domain }}'] = ('${{ steps.split.outputs._0 }}', '${{ steps.split.outputs._1 }}', '${{ steps.split.outputs._2 }}', '${{ steps.split.outputs._3 }}')" >> user-config.py echo "noisysleep = float('inf')" >> user-config.py echo "maximum_GET_length = 5000" >> user-config.py