Skip to content

Commit

Permalink
build(.github) fix skipping of workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Nov 24, 2023
1 parent 262d978 commit 8018617
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
- 'mkdocs.yml'
- '.github/workflows/docs.yml'
push:
branches:
- '**'
paths:
- 'docs/**'
- 'mkdocs.yml'
- '.github/workflows/docs.yml'
branches:
- master
permissions:
contents: write
jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/phpcbf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on: # yamllint disable-line rule:truthy
- 'includes/**'
- '.github/workflows/phpcbf.yml'
push:
branches:
- '**'
paths:
- 'src/**'
- 'includes/**'
- '.github/workflows/phpcbf.yml'
branches:
- master

jobs:
php-codesniffer:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy
pull_request: null
push:
branches:
- "master"
- '**'

permissions:
contents: "read"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ on: # yamllint disable-line rule:truthy
- 'composer.json'
- '.github/workflows/static-analysis.yml'
push:
branches:
- '**'
paths:
- 'src/**'
- 'includes/**'
- 'tests/**'
- 'composer.json'
- '.github/workflows/static-analysis.yml'
branches:
- "master"

permissions:
contents: "read"
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,23 @@ name: Test

on: # yamllint disable-line rule:truthy
pull_request:
branches:
- '**'
paths:
- 'src/**'
- 'includes/**'
- 'tests/**'
- 'composer.json'
- '.github/workflows/test.yaml'
push:
branches:
- '**'
paths:
- 'src/**'
- 'includes/**'
- 'tests/**'
- 'composer.json'
- '.github/workflows/test.yaml'
branches:
- "master"

permissions:
contents: "read"
Expand Down

0 comments on commit 8018617

Please sign in to comment.