diff --git a/.github/workflows/publish-sync.yml b/.github/workflows/publish-sync.yml index ba46ad74..c5003e24 100644 --- a/.github/workflows/publish-sync.yml +++ b/.github/workflows/publish-sync.yml @@ -36,8 +36,8 @@ jobs: token: ${{ secrets.MAA_HOMEBREW_BUMP_PR }} repository: MaaAssistantArknights/MaaAssistantArknights ref: dev - - name: Update Submodule (Workflow Call) - if: github.event_name == 'workflow_call' + - name: Update Submodule + if: github.event_name != 'pull_request' working-directory: src/maa-cli run: | git submodule init .