diff --git a/.github/workflows/bc.yml_ b/.github/workflows/bc.yml_ index 058dedb..2557a8c 100644 --- a/.github/workflows/bc.yml_ +++ b/.github/workflows/bc.yml_ @@ -1,3 +1,5 @@ +name: backwards compatibility + on: pull_request: paths: &paths @@ -8,8 +10,6 @@ on: branches: ['master'] paths: *paths -name: backwards compatibility - permissions: contents: read diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51cf5ab..4441a8a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,3 +1,5 @@ +name: build + on: pull_request: paths: &paths @@ -6,13 +8,10 @@ on: - '.github/workflows/build.yml' - 'composer.json' - 'phpunit.xml.dist' - push: branches: ['master'] paths: *paths -name: build - permissions: contents: read diff --git a/.github/workflows/composer-require-checker.yml b/.github/workflows/composer-require-checker.yml index ccb020e..35d07ea 100644 --- a/.github/workflows/composer-require-checker.yml +++ b/.github/workflows/composer-require-checker.yml @@ -1,3 +1,5 @@ +name: Composer require checker + on: pull_request: paths: &paths @@ -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 diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index f195195..bbfa760 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -1,3 +1,5 @@ +name: mutation test + on: pull_request: paths: &paths @@ -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 diff --git a/.github/workflows/rector-cs.yml b/.github/workflows/rector-cs.yml index f90bcb2..83e3649 100644 --- a/.github/workflows/rector-cs.yml +++ b/.github/workflows/rector-cs.yml @@ -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' diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 513361f..b4834f3 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -1,3 +1,5 @@ +name: static analysis + on: pull_request: paths: &paths @@ -6,13 +8,10 @@ on: - '.github/workflows/static.yml' - 'psalm*.xml' - 'composer.json' - push: branches: ['master'] paths: *paths -name: static analysis - permissions: contents: read diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 430255d..7534234 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -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: