[skip deploy] github: Don't run lighthouse testing when not deploying

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2019-12-31 13:56:58 +05:30
parent 1e8c46ef24
commit 01f895504d
No known key found for this signature in database
GPG Key ID: C2E74282C2133D62
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ on:
jobs:
lighthouse-test:
if: "!contains(github.event.head_commit.message, '[skip staging]') && !contains(github.event.head_commit.message, '[skip deploy]') && !contains(github.event.head_commit.message, '[skip prod]')"
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master