From 0db0b4ad627a11b4dd6ecae578078d2ae929c8e0 Mon Sep 17 00:00:00 2001 From: HypeMC Date: Sat, 22 Nov 2025 15:49:25 +0100 Subject: [PATCH] Use Fabbot in CI --- .github/PULL_REQUEST_TEMPLATE.md | 21 +++++++++++++++++++++ .github/workflows/ci.yml | 16 ---------------- .github/workflows/fabbot.yaml | 15 +++++++++++++++ 3 files changed, 36 insertions(+), 16 deletions(-) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/workflows/fabbot.yaml diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..ecae9d01 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,21 @@ +| Q | A +| ------------- | --- +| Bug fix? | yes/no +| New feature? | yes/no +| Deprecations? | yes/no +| Issues | Fix #... +| License | MIT + + diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5aaeca21..52022142 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,22 +5,6 @@ on: pull_request: jobs: - php-cs-fixer: - runs-on: ubuntu-latest - name: Coding Standards - steps: - - name: Checkout - uses: actions/checkout@v5 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.3' - tools: php-cs-fixer, cs2pr - - - name: PHP Coding Standards Fixer - run: php-cs-fixer fix --dry-run --diff - phpstan: runs-on: ubuntu-latest name: Static Analysis diff --git a/.github/workflows/fabbot.yaml b/.github/workflows/fabbot.yaml new file mode 100644 index 00000000..43748005 --- /dev/null +++ b/.github/workflows/fabbot.yaml @@ -0,0 +1,15 @@ +name: Fabbot + +on: + pull_request: + +permissions: + contents: read + +jobs: + call-fabbot: + name: Fabbot + uses: symfony-tools/fabbot/.github/workflows/fabbot.yml@main + with: + package: Panther + check_license: true