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:
parent
d751c19fb0
commit
5c1d51c316
1 changed files with 18 additions and 0 deletions
18
.github/workflows/auto-tag.yml
vendored
Normal file
18
.github/workflows/auto-tag.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue