how can i specify in my migration not to migrate unpublished content?
You could try using the skip on value plugin.
Untested, but probably like:
process:
  status:
    plugin: skip_on_value
    method: row
    not_equals: true
    value: 1
    source: status

Should only import published content.