mirror of https://github.com/zulip/zulip.git
github-actions: Only run production suite on production related updates.
The production suite will only run if anything under puppet, scripts, and tools or any migrations are updated. The '**' glob means it includes subdirectory updates. For migrations all ~5 migrations directories are includes using the **/migrations/** pattern. The GitHub Action docs that explain the syntax: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
This commit is contained in:
parent
3ab53c6a83
commit
07b79833a9
|
@ -2,7 +2,27 @@ name: Zulip Production Suite
|
|||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "**/migrations/**"
|
||||
- puppet/**
|
||||
- requirements/**
|
||||
- scripts/**
|
||||
- static/**
|
||||
- tools/**
|
||||
- zproject/**
|
||||
- yarn.lock
|
||||
- .github/workflows/production-suite.yml
|
||||
pull_request:
|
||||
paths:
|
||||
- "**/migrations/**"
|
||||
- puppet/**
|
||||
- requirements/**
|
||||
- scripts/**
|
||||
- static/**
|
||||
- tools/**
|
||||
- zproject/**
|
||||
- yarn.lock
|
||||
- .github/workflows/production-suite.yml
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
|
Loading…
Reference in New Issue