소스 검색

config git user

Vicente Canales 1 년 전
부모
커밋
f9a325d650
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      .github/workflows/add-strict-types.yml

+ 2 - 0
.github/workflows/add-strict-types.yml

@@ -21,6 +21,8 @@ jobs:
       - name: Add strict types to new PHP files
         id: add_strict_types
         run: |
+          git config --global user.email "github-actions[bot]@users.noreply.github.com"
+          git config --global user.name "github-actions[bot]"
           git fetch origin +refs/heads/trunk:refs/remotes/origin/trunk --quiet
           NEW_PHP_FILES=$(git diff --name-only refs/remotes/origin/trunk HEAD -- '*.php' | xargs -r grep -LE 'declare\( strict_types=1 \)' || true)
           if [ -n "$NEW_PHP_FILES" ]; then