From 02fb495a12284b16b3631238ef0a38751bb8df1a Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sun, 25 May 2025 15:14:54 +0200 Subject: [PATCH 1/2] ci: do not add custom labels --- .github/workflows/pipeline.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index f59e397..68dd972 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -38,10 +38,6 @@ jobs: qa: runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - name: Checkout uses: actions/checkout@v4 @@ -50,7 +46,7 @@ jobs: uses: ytanikin/pr-conventional-commits@1.4.1 with: task_types: '["feat", "fix", "docs", "test", "ci", "style", "refactor", "perf", "chore", "revert"]' - add_label: 'true' + add_label: 'false' custom_labels: '{"feat": "feature", "fix": "bug", "docs": "documentation", "test": "test", "ci": "CI/CD", "style": "codestyle", "refactor": "refactor", "perf": "performance", "chore": "chore", "revert": "revert"}' - name: Setup PHP From 0540ee7ad6f8f9d96095191bdb92745489a170dc Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sun, 25 May 2025 15:16:52 +0200 Subject: [PATCH 2/2] ci: rector --- rector.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/rector.php b/rector.php index 3997350..15ee38f 100644 --- a/rector.php +++ b/rector.php @@ -6,7 +6,6 @@ use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector; use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitSelfCallRector; use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector; -use Rector\PHPUnit\CodeQuality\Rector\MethodCall\AssertCountWithZeroToAssertEmptyRector; use Rector\PHPUnit\Set\PHPUnitSetList; return RectorConfig::configure() @@ -25,7 +24,6 @@ ]) ->withImportNames(importShortClasses: false) ->withSkip([ - AssertCountWithZeroToAssertEmptyRector::class, ClosureToArrowFunctionRector::class, PreferPHPUnitThisCallRector::class, ])