diff --git a/.forgejo/workflows/tag.yml b/.forgejo/workflows/tag.yml
new file mode 100644
index 0000000..311215d
--- /dev/null
+++ b/.forgejo/workflows/tag.yml
@@ -0,0 +1,22 @@
+name: Auto tag
+
+on:
+  push:
+    branches:
+      - main
+
+jobs:
+  release:
+    runs-on: ubuntu-latest
+    permissions:
+      contents: write
+    steps:
+      - uses: actions/checkout@v4
+        with:
+          fetch-depth: 0
+
+      - name: Bump version and push tag
+        uses: https://github.com/anothrNick/github-tag-action@v1
+        env:
+          WITH_V: false
+          DEFAULT_BUMP: patch