From 8340db862e68b36e07a6a6129cd968271a15c0d4 Mon Sep 17 00:00:00 2001 From: Len Woodward Date: Mon, 20 Jan 2025 16:51:17 -0800 Subject: [PATCH] try a thing --- .github/workflows/checks.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 80aef26..b372762 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -17,8 +17,6 @@ jobs: if: github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, '#nodeploy') runs-on: ubuntu-latest needs: [ lint, test, stan ] - env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} steps: - name: Checkout uses: actions/checkout@v4 @@ -43,4 +41,11 @@ jobs: run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - name: Split if: success() + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + GIT_CONFIG_COUNT: 2 + GIT_CONFIG_KEY_0: credential.https://github.com.username + GIT_CONFIG_VALUE_0: x-access-token + GIT_CONFIG_KEY_1: credential.https://github.com.helper + GIT_CONFIG_VALUE_1: '!f() { test "$1" = get && echo "password=${GH_TOKEN}"; }; f' run: php artisan kibble:split