mirror of
https://github.com/simonmichael/hledger.git
synced 2025-01-04 00:07:29 +03:00
ci: stop running nightly CIs on each push
Pushing to master now only triggers the quick "push" workflow. The nightlies run nightly or on push to a "ci-PLATFORM" branch. (And the linux nightly workflow is also used for pull requests, for now.) I might split these up a bit more, but as yet there's no way of sharing common code between workflows.
This commit is contained in:
parent
a1361ecc04
commit
0bc157caaa
5
.github/workflows/linux-nightly.yml
vendored
5
.github/workflows/linux-nightly.yml
vendored
@ -20,8 +20,10 @@
|
||||
name: linux nightly/pr CI
|
||||
|
||||
on:
|
||||
# run nightly
|
||||
schedule:
|
||||
- cron: "0 07 * * *"
|
||||
# and on pull requests to master
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
@ -37,8 +39,9 @@ on:
|
||||
- '!**.5'
|
||||
- '!**.info'
|
||||
- '!**.txt'
|
||||
# and on pushes to ci-linux branch
|
||||
push:
|
||||
branches: [ ci, master ] # master too for testing
|
||||
branches: [ ci-linux ]
|
||||
paths:
|
||||
- '.github/workflows/linux-nightly.yml'
|
||||
- 'stack*'
|
||||
|
25
.github/workflows/mac-nightly.yml
vendored
25
.github/workflows/mac-nightly.yml
vendored
@ -3,12 +3,12 @@
|
||||
name: mac nightly CI
|
||||
|
||||
on:
|
||||
# XXX not supported yet; build on noteworthy push to "ci" instead
|
||||
# schedule:
|
||||
# - cron: "0 23 * * *"
|
||||
# uncomment when testing CI:
|
||||
# run nightly
|
||||
schedule:
|
||||
- cron: "0 07 * * *"
|
||||
# and on pushes to ci-mac branch
|
||||
push:
|
||||
branches: [ ci, master ] # master too for testing
|
||||
branches: [ ci-mac ]
|
||||
paths:
|
||||
- '.github/workflows/mac-nightly.yml'
|
||||
- 'stack*.yaml'
|
||||
@ -22,21 +22,6 @@ on:
|
||||
- '!**.5'
|
||||
- '!**.info'
|
||||
- '!**.txt'
|
||||
# pull_request:
|
||||
# branches: [ master ]
|
||||
# paths:
|
||||
# - '.github/workflows/mac-nightly.yml'
|
||||
# - 'stack*'
|
||||
# - 'hledger-lib'
|
||||
# - 'hledger'
|
||||
# - 'hledger-ui'
|
||||
# - 'hledger-web'
|
||||
# - 'tests'
|
||||
# - '!**.md'
|
||||
# - '!**.1'
|
||||
# - '!**.5'
|
||||
# - '!**.info'
|
||||
# - '!**.txt'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
23
.github/workflows/windows-nightly.yml
vendored
23
.github/workflows/windows-nightly.yml
vendored
@ -4,11 +4,12 @@
|
||||
name: windows nightly CI
|
||||
|
||||
on:
|
||||
# schedule:
|
||||
# - cron: "0 23 * * *"
|
||||
# XXX not supported yet; build on noteworthy push to "ci" instead
|
||||
# run nightly
|
||||
schedule:
|
||||
- cron: "0 07 * * *"
|
||||
# and on pushes to ci-windows branch
|
||||
push:
|
||||
branches: [ ci, master ] # master too while testing
|
||||
branches: [ ci-windows ]
|
||||
paths:
|
||||
- '.github/workflows/windows-nightly.yml'
|
||||
- 'stack*.yaml'
|
||||
@ -22,20 +23,6 @@ on:
|
||||
- '!**.5'
|
||||
- '!**.info'
|
||||
- '!**.txt'
|
||||
# pull_request:
|
||||
# branches: [ master ]
|
||||
# paths:
|
||||
# - '.github/workflows/windows-nightly.yml'
|
||||
# - 'stack*'
|
||||
# - 'hledger-lib'
|
||||
# - 'hledger'
|
||||
# - 'hledger-ui'
|
||||
# - 'hledger-web'
|
||||
# - '!**.md'
|
||||
# - '!**.1'
|
||||
# - '!**.5'
|
||||
# - '!**.info'
|
||||
# - '!**.txt'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
Loading…
Reference in New Issue
Block a user