Switch release workflow from push-based to scheduled/manual triggers

This commit is contained in:
Nate 2025-07-16 18:52:30 -07:00
parent 35ea59f439
commit 4df60db2fd

View file

@ -1,9 +1,11 @@
name: Release
on:
push:
branches:
- main
schedule:
# Run every day at 9am UTC
- cron: "0 9 * * *"
workflow_dispatch:
# Allow manual triggering
permissions:
contents: write
@ -44,4 +46,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
run: npx semantic-release