Skip to content

Commit

Permalink
github-actions: Only run production suite on production related updates.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
priyank-p authored and timabbott committed Jul 24, 2020
1 parent 3ab53c6 commit 07b7983
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/production-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 07b7983

Please sign in to comment.