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 2a160d296f
commit 2ad2af4d7c

View File

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