ci: linux: rename to pull, don't run on push

This commit is contained in:
Simon Michael 2021-12-01 21:21:49 -10:00
parent cc63ffd0b7
commit 8c25581dd5

View File

@ -1,6 +1,5 @@
# Runs on notable pull requests against master, # Runs on notable pull requests against master,
# and also on notable pushes to ci-linux (no longer used), # and also weekly on master.
# and weekly on master.
# Builds all modules optimised and runs # Builds all modules optimised and runs
# unit/doc/functional/haddock/benchmark tests on linux, # unit/doc/functional/haddock/benchmark tests on linux,
@ -12,7 +11,7 @@
# This is the "master" workflow on which the others are based, # This is the "master" workflow on which the others are based,
# with the most detailed notes. # with the most detailed notes.
name: linux CI name: pull CI
on: on:
# Scheduled workflows run on the latest commit on the default or base branch. (master) # Scheduled workflows run on the latest commit on the default or base branch. (master)
@ -43,29 +42,6 @@ on:
- '!**.info' - '!**.info'
- '!**.txt' - '!**.txt'
push:
branches: [ ci-linux ]
paths:
- '.github/workflows/linux.yml'
- 'stack*'
- 'hledger-lib/**'
- 'hledger/**'
- 'hledger-ui/**'
- 'hledger-web/**'
# ignore changes to example files, though currently some func tests depend on them
- 'examples/**'
- '!**.journal'
- '!**.j'
- '!**.ledger'
- '!**.csv'
# ignore changes to doc source files
- '!**.m4'
- '!**.md'
- '!**.1'
- '!**.5'
- '!**.info'
- '!**.txt'
workflow_dispatch: workflow_dispatch:
jobs: jobs: