ci: run on tags v* and not on cron or dispatch
This commit is contained in:
parent
3991fc0d25
commit
26926a4a6a
1 changed files with 2 additions and 6 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -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 }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue