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: 10 additions & 24 deletions .github/workflows/bc.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,22 @@
permissions:
contents: read
name: backwards compatibility

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'
paths: &paths
- 'src/**'
- '.github/workflows/bc.yml'
- '.roave-backward-compatibility-check.xml'
- 'composer.json'
push:
branches: [ 'master' ]
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'
branches: ['master']
paths: *paths

name: backwards compatibility
permissions:
contents: read

jobs:
roave_bc_check:
uses: yiisoft/actions/.github/workflows/bc.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['8.3']
36 changes: 15 additions & 21 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,23 @@
permissions:
contents: read
name: benchmark

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

paths: &paths
- '.github/workflows/bench.yml'
- 'src/**'
- 'tests/Benchmark/**'
- 'composer.json'
- 'phpbench.json'
push:
branches: [ 'master' ]
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'
branches: ['master']
paths: *paths

permissions:
contents: read

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

jobs:
phpbench:
Expand Down
38 changes: 17 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,25 @@
permissions:
contents: read
name: build

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

paths: &paths
- 'config/**'
- 'messages/**'
- 'src/**'
- 'tests/**'
- '.github/workflows/build.yml'
- 'composer.json'
- 'phpunit.xml.dist'
push:
branches: [ 'master' ]
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'
branches: ['master']
paths: *paths

name: build
permissions:
contents: read

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

jobs:
phpunit:
Expand Down
38 changes: 15 additions & 23 deletions .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,23 @@
permissions:
contents: read
name: Composer require checker

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

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

name: Composer require checker
permissions:
contents: read

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

jobs:
composer-require-checker:
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@ name: Update docs translation

on:
pull_request:
paths:
- 'docs/po/**'
- 'docs/pot/**'
- 'docs/po4a.conf'
- 'docs/po4a-base.conf'
- 'docs/prepare-config.sh'
paths: &paths
- '.github/workflows/docs.yml'
- 'docs/**'
push:
branches: [ "master" ]
paths:
- 'docs/**'
paths: *paths

permissions:
contents: read
Expand Down
32 changes: 13 additions & 19 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
permissions:
contents: read
name: mutation test

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

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

name: mutation test
permissions:
contents: read

jobs:
mutation:
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/rector-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ name: Rector + PHP CS Fixer

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'
paths:
- 'config/**'
- 'messages/**'
- 'src/**'
- 'tests/**'
- '.github/workflows/rector-cs.yml'
- 'composer.json'
- 'rector.php'
- '.php-cs-fixer.dist.php'

permissions:
contents: read
Expand Down
36 changes: 15 additions & 21 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,23 @@
permissions:
contents: read
name: static analysis

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

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

name: static analysis
permissions:
contents: read

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

jobs:
psalm:
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
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

jobs:
zizmor:
Expand Down
Loading