From a883bfad425095800091063694b8349d4851e6cc Mon Sep 17 00:00:00 2001 From: ShoheiTai Date: Sun, 9 Jun 2024 12:46:53 +0900 Subject: [PATCH] Update CI --- .github/workflows/code_check.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_check.yml b/.github/workflows/code_check.yml index 9ac7234..745a1ac 100644 --- a/.github/workflows/code_check.yml +++ b/.github/workflows/code_check.yml @@ -1,6 +1,11 @@ name: Code quality check -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened] jobs: phpunit: @@ -44,5 +49,5 @@ jobs: git config --global user.name "github-actions[bot]" git add . git commit -m "Apply PHP-CS-Fixer changes" - git push + git push origin HEAD:${{ github.ref }} fi