mirror of https://github.com/actions/cache.git
Add auto-tag workflow to move v1 tag on main pushes
parent
d751c19fb0
commit
5c1d51c316
@ -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…
Reference in New Issue