I'm searching for a movie. It's about a girl (Samantha, if I remember correctly) that is living the same day every day, that is also her last day of life. She's dying every day and later waking up in the morning of the same day. Can you tell me the title of it? Who starred the main role?
The plot you describe is a well-known trope in fiction sometimes known as a Groundhog Day loop, after the 1993 movie starring Bill Murray.

If the movie you are thinking of starred a girl named Samantha, it might be *Before I Fall*, a 2017 film adaption of the novel of the same name by Lauren Oliver. The film focuses on a teenage girl named Samantha Kingston who finds herself reliving the same day over and over again after apparently dying in a car crash.