Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 15 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,28 @@
name: build

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'psalm.xml'

paths: &paths
- 'public/**'
- 'src/**'
- 'config/**'
- 'tests/**'
- 'codeception.yml'
- 'composer.json'
- 'yii'
- 'yii.bat'
- '.github/workflows/build.yml'
push:
branches: ['master']
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'psalm.xml'
paths: *paths

name: build
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
codeception:
name: PHP ${{ matrix.php }}-${{ matrix.os }}
Expand Down
36 changes: 15 additions & 21 deletions .github/workflows/composer-dependency-analyzer.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,28 @@
name: Composer dependency analyzer

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'phpunit.xml.dist'
- 'psalm.xml'

paths: &paths
- 'public/**'
- 'src/**'
- 'config/**'
- 'tests/**'
- 'composer.json'
- 'composer-dependency-analyser.php'
- 'yii'
- 'yii.bat'
- '.github/workflows/composer-dependency-analyzer.yml'
push:
branches: ['master']
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'phpunit.xml.dist'
- 'psalm.xml'
paths: *paths

name: Composer dependency analyzer
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
analyzer:
name: PHP ${{ matrix.php }}-${{ matrix.os }}
Expand Down
28 changes: 16 additions & 12 deletions .github/workflows/cs.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
name: Code Style

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
paths:
- 'public/**'
- 'src/**'
- 'config/**'
- 'tests/**'
- '.php-cs-fixer.php'
- 'rector.php'
- 'composer.json'
- 'yii'
- 'yii.bat'
- '.github/workflows/cs.yml'

permissions:
contents: read

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'psalm.xml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
cs-fix:
Expand Down
34 changes: 15 additions & 19 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,27 @@
name: static analysis

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'phpunit.xml.dist'

paths: &paths
- 'public/**'
- 'src/**'
- 'config/**'
- 'psalm.xml'
- 'composer.json'
- 'yii'
- 'yii.bat'
- '.github/workflows/static.yml'
push:
branches: ['master']
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'phpunit.xml.dist'
paths: *paths

name: static analysis
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
psalm:
name: PHP ${{ matrix.php }}-${{ matrix.os }}
Expand All @@ -41,6 +36,7 @@ jobs:
- "8.2"
- "8.3"
- "8.4"
- "8.5"

steps:
- name: Checkout
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: GitHub Actions Security Analysis with zizmor 🌈

on:
push:
branches:
- master
- main
paths:
- '.github/**.yml'
- '.github/**.yaml'
pull_request:
paths:
paths: &paths
- '.github/**.yml'
- '.github/**.yaml'
push:
branches: ['master']
paths: *paths

permissions:
actions: read # Required by zizmor when reading workflow metadata through the API.
contents: read # Required to read workflow files.
actions: read # Required by zizmor when reading workflow metadata through the API
contents: read # Required to read workflow files

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
zizmor:
Expand Down