[CI] Fix: Prevent tag collision in CI

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-12-20 20:59:21 +01:00
parent d8cd131edd
commit 552e7c9f10
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View file

@ -53,10 +53,9 @@ jobs:
lfs: true lfs: true
show-progress: false show-progress: false
- name: Marking workdir safe and fetch tags - name: Marking workdir safe
run: | run: |
git config --global --add safe.directory /__w/twitch-bot/twitch-bot git config --global --add safe.directory /__w/twitch-bot/twitch-bot
git fetch --tags
- name: Lint and test code - name: Lint and test code
run: make lint test frontend_lint run: make lint test frontend_lint