diff --git a/.github/workflows/build-manager.yml b/.github/workflows/build-manager.yml index ced4799490dd..a48ab06b3345 100644 --- a/.github/workflows/build-manager.yml +++ b/.github/workflows/build-manager.yml @@ -131,7 +131,7 @@ jobs: path: "manager/app/build/outputs/mapping/release/" - name: Upload to telegram - if: github.event_name != 'pull_request' && steps.need_upload.outputs.UPLOAD == 'true' + if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && steps.need_upload.outputs.UPLOAD == 'true' env: CHAT_ID: ${{ secrets.CHAT_ID }} BOT_TOKEN: ${{ secrets.BOT_TOKEN }}