@@ -345,7 +345,8 @@ jobs:
345345 # Rehearsal mode STOPS before PyPI: skipping this job (the git tag/push +
346346 # PyPI upload) cascade-skips every job that needs it — publish_release_notes,
347347 # release_workspaces, bump_library_colab_urls, and (via release_workspaces)
348- # wiki_currency_check / wiki_drift_issue. The full-release path is unchanged
348+ # both wiki_currency_check / wiki_drift_issue pairs (autolens + autofit). The
349+ # full-release path is unchanged
349350 # when rehearsal is not 'true'.
350351 if : " ${{ needs.resolve_mode.outputs.rehearsal != 'true' }}"
351352 env :
@@ -567,6 +568,12 @@ jobs:
567568 generate_notebooks : false
568569 bump_colab_urls : false
569570 write_api_baseline : true
571+ - repository : PyAutoLabs/autofit_assistant
572+ name : autofit
573+ package : PyAutoFit
574+ generate_notebooks : false
575+ bump_colab_urls : false
576+ write_api_baseline : true
570577 steps :
571578 - uses : actions/checkout@v2
572579 with :
@@ -740,6 +747,51 @@ jobs:
740747 --body-file "$BODY" \
741748 || echo "::warning::could not open wiki-drift issue (non-fatal)"
742749
750+ # ---------------------------------------------------------------------------
751+ # Wiki-currency check (autofit_assistant) — same contract as the autolens pair
752+ # above: PyAutoBuild orchestrates and reports; the assistant's reusable workflow
753+ # is the single home of the rules. Its drift artifact is named
754+ # wiki-drift-report-autofit because upload-artifact@v4 names are unique per run
755+ # and the autolens check in this same run already claims wiki-drift-report.
756+ # ---------------------------------------------------------------------------
757+ wiki_currency_check_autofit :
758+ needs :
759+ - resolve_mode
760+ - version_number
761+ - release_workspaces
762+ if : " ${{ needs.resolve_mode.outputs.rehearsal != 'true' }}"
763+ uses : PyAutoLabs/autofit_assistant/.github/workflows/wiki-currency.yml@main
764+ with :
765+ stack_version : ${{ needs.version_number.outputs.version_number }}
766+ assistant_ref : main
767+
768+ wiki_drift_issue_autofit :
769+ needs :
770+ - version_number
771+ - wiki_currency_check_autofit
772+ if : " ${{ always() && needs.wiki_currency_check_autofit.result == 'failure' }}"
773+ runs-on : ubuntu-latest
774+ steps :
775+ - name : Download drift report
776+ uses : actions/download-artifact@v4
777+ with :
778+ name : wiki-drift-report-autofit
779+ path : drift
780+ - name : Open wiki-drift issue against autofit_assistant
781+ env :
782+ GH_TOKEN : ${{ secrets.PAT_PYAUTOLABS }}
783+ run : |
784+ VERSION="${{ needs.version_number.outputs.version_number }}"
785+ BODY=drift/drift-report.md
786+ if [ ! -f "$BODY" ]; then
787+ printf '# Wiki-currency drift at release %s\n\nThe check failed but no drift-report artifact was found; see the run logs.\n' "$VERSION" > "$BODY"
788+ fi
789+ gh issue create \
790+ --repo PyAutoLabs/autofit_assistant \
791+ --title "wiki drift detected at release $VERSION" \
792+ --body-file "$BODY" \
793+ || echo "::warning::could not open wiki-drift issue (non-fatal)"
794+
743795 # ---------------------------------------------------------------------------
744796 # Rehearsal version emitter (rehearsal mode only).
745797 #
0 commit comments