mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-23 23:32:05 +00:00
The previous commit blamed `actions/checkout` for not fetching tags. It does (with `fetch-depth: 0`), and the run logs show it: the v1.9.1 master run's checkout fetched every tag up to v1.9.0 and nothing newer, because v1.9.1 did not exist on the remote yet — the branch push came first, the tag push eight seconds later. The duplicate is a race with the tag push, not a missing fetch. Comments corrected; the re-fetch before the decision stays, and it is what makes the gap between the checkout and the decision irrelevant (the tag only has to exist by the time *this* step runs).