Trigger release workflow on tag push

Changed the workflow trigger from pushes to the main branch to pushes of any tag. This enables releases to be automatically created when a new tag is pushed.
This commit is contained in:
手瓜一十雪 2025-11-13 18:57:37 +08:00
parent 12c52ab151
commit ce7ede7783

View File

@ -3,8 +3,9 @@ name: AI RELEASE NapCat
on:
workflow_dispatch:
push:
branches:
- main
tags:
- '*'
permissions: write-all
env: