From fd3b5af5653044c1f9a62171ecee86ac4c4a100a Mon Sep 17 00:00:00 2001 From: Valentin Udaltsov Date: Fri, 13 Dec 2024 04:56:31 +0300 Subject: [PATCH] Use the new check.yml workflow --- .github/workflows/check.yml | 19 +++---------------- .github/workflows/sync-repo-description.yml | 15 --------------- 2 files changed, 3 insertions(+), 31 deletions(-) delete mode 100644 .github/workflows/sync-repo-description.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 51836f2..1bb3c68 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,22 +1,9 @@ -name: Check code - on: push: branches: ['main', '*.*.x'] pull_request: ~ jobs: - composer: - uses: typhoon-php/.github/.github/workflows/composer.yml@main - php-cs-fixer: - uses: typhoon-php/.github/.github/workflows/php-cs-fixer.yml@main - psalm: - uses: typhoon-php/.github/.github/workflows/psalm.yml@main - phpunit: - uses: typhoon-php/.github/.github/workflows/phpunit.yml@main - # secrets: - # codecov-token: ${{ secrets.CODECOV_TOKEN }} - infection: - uses: typhoon-php/.github/.github/workflows/infection.yml@main - # secrets: - # stryker-api-key: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} + check: + uses: typhoon-php/.github/.github/workflows/check.yml@main + secrets: inherit diff --git a/.github/workflows/sync-repo-description.yml b/.github/workflows/sync-repo-description.yml deleted file mode 100644 index 0f84b6b..0000000 --- a/.github/workflows/sync-repo-description.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Sync repository description - -on: - workflow_dispatch: ~ - push: - branches: ['main', '*.*.x'] - paths: - - composer.json - -jobs: - sync-repo-description: - if: github.ref_name == github.event.repository.default_branch - uses: typhoon-php/.github/.github/workflows/sync-repo-description.yml@main - secrets: - pat: ${{ secrets.TYPHOON_REPO_ADMIN_PAT }}