3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2026-05-10 06:22:24 +00:00

Add auto-tag workflow to move v1 tag on main pushes

This commit is contained in:
Jasperhino 2026-04-23 12:56:13 +02:00
parent d751c19fb0
commit 5c1d51c316

18
.github/workflows/auto-tag.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Auto-tag main
on:
push:
branches: [main]
permissions:
contents: write
jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Force-update v1 tag
run: |
git tag -f v1
git push -f origin v1