From 3b7307ffafe012ae2f25e4950e4a96123751ea27 Mon Sep 17 00:00:00 2001 From: Drikus Roor Date: Sun, 30 Jun 2024 17:23:22 +0200 Subject: [PATCH] fix(ci): Fix PHP Compatability & PHP CodeSniffer workflow by using correct yaml syntax and `secrets` instead of `env` --- .github/workflows/php-compatibility.yml | 6 +++--- .github/workflows/php-phpcs.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml index 221ed848fe..321c4922f2 100644 --- a/.github/workflows/php-compatibility.yml +++ b/.github/workflows/php-compatibility.yml @@ -13,6 +13,6 @@ on: - '.github/workflows/php-compatibility.yml' jobs: phpcs-compatibility: - - uses: pods-framework/.github/.github/workflows/php-compatibility.yml@main - env: - GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }} + uses: pods-framework/.github/.github/workflows/php-compatibility.yml@main + secrets: + GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }} diff --git a/.github/workflows/php-phpcs.yml b/.github/workflows/php-phpcs.yml index 21dd8e1832..cf3695c9f1 100644 --- a/.github/workflows/php-phpcs.yml +++ b/.github/workflows/php-phpcs.yml @@ -13,6 +13,6 @@ on: - '.github/workflows/php-phpcs.yml' jobs: phpcs: - - uses: pods-framework/.github/.github/workflows/php-phpcs.yml@main - env: - REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GH_BOT_TOKEN }} + uses: pods-framework/.github/.github/workflows/php-phpcs.yml@main + secrets: + REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GH_BOT_TOKEN }}