Skip to content

Commit 524faa7

Browse files
committed
fix(ci): remove "Update latest tag" step from release workflow
GITHUB_TOKEN cannot push refs that include workflow file changes. The latest git tag isn't needed — Docker images already get the "latest" tag from docker/metadata-action.
1 parent b11f728 commit 524faa7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
permissions:
99
contents: write
1010
packages: write
11-
workflows: write
1211

1312
jobs:
1413
release:
@@ -189,7 +188,3 @@ jobs:
189188
env:
190189
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
191190

192-
- name: Update latest tag
193-
run: |
194-
git tag -f latest
195-
git push -f origin latest

0 commit comments

Comments
 (0)