ci: run on tags v* and not on cron or dispatch

This commit is contained in:
sithlord48
2024-10-13 22:45:21 -04:00
committed by Chris Rizzitello
parent 3991fc0d25
commit 26926a4a6a

View File

@ -5,12 +5,10 @@
name: CI
on:
workflow_dispatch:
inputs:
version:
description: Deskflow version number
push:
branches: [ master ]
tags:
- 'v*'
pull_request:
types:
- opened
@ -24,8 +22,6 @@ on:
- '.gitignore'
- '.gitattributes'
- 'cspell.json'
schedule:
- cron: "0 5 * * *" # 5am UTC
env:
GIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}