From 82bba7b8fe0e4b386ab2926d8384869a03a3eba0 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sun, 12 Jul 2026 21:31:57 +0300 Subject: [PATCH 1/4] Cleanup GitHub workflows --- .github/workflows/zizmor.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) 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: From fe09241973ede6b3c11c0649b66257157881b31e Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sun, 12 Jul 2026 21:32:08 +0300 Subject: [PATCH 2/4] Cleanup GitHub workflows --- .github/workflows/bc.yml | 32 +++++++++----------------------- .github/workflows/rector-cs.yml | 2 ++ 2 files changed, 11 insertions(+), 23 deletions(-) diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml index 0577a84..137baf3 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yml @@ -1,27 +1,15 @@ +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 + - 'config/**' + - 'src/**' + - '.github/workflows/bc.yml' + - 'composer.json' push: branches: ['master'] - paths-ignore: - - 'docs/**' - - 'README.md' - - 'CHANGELOG.md' - - '.gitignore' - - '.gitattributes' - - 'infection.json.dist' - - 'phpunit.xml.dist' - - 'psalm.xml' - -name: backwards compatibility + paths: *paths permissions: contents: read @@ -30,7 +18,5 @@ jobs: roave_bc_check: uses: yiisoft/actions/.github/workflows/bc.yml@master with: - os: >- - ['ubuntu-latest'] php: >- - ['8.4'] + ['8.1'] diff --git a/.github/workflows/rector-cs.yml b/.github/workflows/rector-cs.yml index 6307f29..b0154f0 100644 --- a/.github/workflows/rector-cs.yml +++ b/.github/workflows/rector-cs.yml @@ -20,6 +20,8 @@ concurrency: jobs: rector: + permissions: + contents: write # Required to commit automated Rector and CS fixes uses: yiisoft/actions/.github/workflows/rector-cs.yml@master with: php: '8.1' From 95265f34209f270445ea288ecc924f9569e45ec7 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sun, 12 Jul 2026 21:34:59 +0300 Subject: [PATCH 3/4] fix --- .github/workflows/bc.yml | 1 + .roave-backward-compatibility-check.xml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 .roave-backward-compatibility-check.xml diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml index 137baf3..4555347 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yml @@ -6,6 +6,7 @@ on: - 'config/**' - 'src/**' - '.github/workflows/bc.yml' + - '.roave-backward-compatibility-check.xml' - 'composer.json' push: branches: ['master'] diff --git a/.roave-backward-compatibility-check.xml b/.roave-backward-compatibility-check.xml new file mode 100644 index 0000000..670ae63 --- /dev/null +++ b/.roave-backward-compatibility-check.xml @@ -0,0 +1,8 @@ + + + + #\[BC\] SKIPPED: Roave\\BetterReflection\\Reflection\\ReflectionClass "Yiisoft\\Yii\\Debug\\# + + From 0342ecd8af4e5f4ac751a22f7203a9e819b90ecb Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sun, 12 Jul 2026 21:38:16 +0300 Subject: [PATCH 4/4] fix --- .github/workflows/bc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml index 4555347..e141add 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yml @@ -20,4 +20,4 @@ jobs: uses: yiisoft/actions/.github/workflows/bc.yml@master with: php: >- - ['8.1'] + ['8.5']