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
4 changes: 2 additions & 2 deletions .github/workflows/bc.yml_
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: backwards compatibility

on:
pull_request:
paths: &paths
Expand All @@ -8,8 +10,6 @@ on:
branches: ['master']
paths: *paths

name: backwards compatibility

permissions:
contents: read

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: build

on:
pull_request:
paths: &paths
Expand All @@ -6,13 +8,10 @@ on:
- '.github/workflows/build.yml'
- 'composer.json'
- 'phpunit.xml.dist'

push:
branches: ['master']
paths: *paths

name: build

permissions:
contents: read

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Composer require checker

on:
pull_request:
paths: &paths
Expand All @@ -6,13 +8,10 @@ on:
- '.github/workflows/composer-require-checker.yml'
- 'composer.json'
- 'composer-require-checker.json'

push:
branches: ['master']
paths: *paths

name: Composer require checker

permissions:
contents: read

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: mutation test

on:
pull_request:
paths: &paths
Expand All @@ -6,13 +8,11 @@ on:
- '.github/workflows/mutation.yml'
- 'composer.json'
- 'infection.json.dist'

- 'phpunit.xml.dist'
push:
branches: ['master']
paths: *paths

name: mutation test

permissions:
contents: read

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rector-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:
jobs:
rector:
permissions:
contents: write # Required to commit automated Rector and CS fixes.
contents: write # Required to commit automated Rector and CS fixes
uses: yiisoft/actions/.github/workflows/rector-cs.yml@master
with:
php: '8.1'
5 changes: 2 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: static analysis

on:
pull_request:
paths: &paths
Expand All @@ -6,13 +8,10 @@ on:
- '.github/workflows/static.yml'
- 'psalm*.xml'
- 'composer.json'

push:
branches: ['master']
paths: *paths

name: static analysis

permissions:
contents: read

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