ci: fix GitHub Actions secrets check via env variable
PHP Composer / build (pull_request) Successful in 36s

This commit is contained in:
2026-07-30 12:58:06 +02:00
parent 1142d81511
commit e32822132a
+3 -1
View File
@@ -30,7 +30,9 @@ jobs:
${{ runner.os }}-php-
- name: Configure GitHub OAuth for Composer
if: ${{ secrets.GH_COMPOSER_TOKEN != '' }}
if: ${{ env.GH_COMPOSER_TOKEN != '' }}
env:
GH_COMPOSER_TOKEN: ${{ secrets.GH_COMPOSER_TOKEN }}
run: composer config --global github-oauth.github.com ${{ secrets.GH_COMPOSER_TOKEN }}
- name: Install dependencies