Skip to content

Commit

Permalink
Merge pull request #10134 from greg0ire/lighter-builds-πŸ’šπŸŒ
Browse files Browse the repository at this point in the history
Run only relevant workflows
  • Loading branch information
greg0ire committed Oct 15, 2022
2 parents 13d1c7b + cacdc56 commit 16e2565
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/coding-standards.yml
@@ -0,0 +1,27 @@
name: "Coding Standards"

on:
pull_request:
branches:
- "*.x"
paths:
- .github/workflows/coding-standards.yml
- bin/**
- composer.*
- lib/**
- phpcs.xml.dist
- tests/**
push:
branches:
- "*.x"
paths:
- .github/workflows/coding-standards.yml
- bin/**
- composer.*
- lib/**
- phpcs.xml.dist
- tests/**

jobs:
coding-standards:
uses: "doctrine/.github/.github/workflows/coding-standards.yml@2.1.0"
14 changes: 14 additions & 0 deletions .github/workflows/continuous-integration.yml
Expand Up @@ -4,9 +4,23 @@ on:
pull_request:
branches:
- "*.x"
paths:
- .github/workflows/continuous-integration.yml
- ci/**
- composer.*
- lib/**
- phpunit.xml.dist
- tests/**
push:
branches:
- "*.x"
paths:
- .github/workflows/continuous-integration.yml
- ci/**
- composer.*
- lib/**
- phpunit.xml.dist
- tests/**

env:
fail-fast: true
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/phpbench.yml
Expand Up @@ -5,9 +5,21 @@ on:
pull_request:
branches:
- "*.x"
paths:
- .github/workflows/phpbench.yml
- composer.*
- lib/**
- phpbench.json
- tests/**
push:
branches:
- "*.x"
paths:
- .github/workflows/phpbench.yml
- composer.*
- lib/**
- phpbench.json
- tests/**

env:
fail-fast: true
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/static-analysis.yml
Expand Up @@ -5,9 +5,23 @@ on:
pull_request:
branches:
- "*.x"
paths:
- .github/workflows/static-analysis.yml
- composer.*
- lib/**
- phpstan*
- psalm*
- tests/**
push:
branches:
- "*.x"
paths:
- .github/workflows/static-analysis.yml
- composer.*
- lib/**
- phpstan*
- psalm*
- tests/**

jobs:
static-analysis-phpstan:
Expand Down

0 comments on commit 16e2565

Please sign in to comment.