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