diff --git a/.github/workflows/fix-cs.yml b/.github/workflows/fix-cs.yml index ac92f4dd..561325e8 100644 --- a/.github/workflows/fix-cs.yml +++ b/.github/workflows/fix-cs.yml @@ -1,9 +1,9 @@ name: Fix Code Style on: - push: + pull_request: branches: - - master + - "*" permissions: contents: write @@ -18,7 +18,9 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -37,7 +39,7 @@ jobs: # Revert modifications so they don't get committed 💥 - run: git checkout -- composer.json - - uses: stefanzweifel/git-auto-commit-action@v4 + - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: composer fix-style commit_author: laravel-debugbar diff --git a/.github/workflows/run-integration-tests.yml b/.github/workflows/run-integration-tests.yml index d89713e9..ac90ce60 100644 --- a/.github/workflows/run-integration-tests.yml +++ b/.github/workflows/run-integration-tests.yml @@ -26,7 +26,7 @@ jobs: name: P${{ matrix.php }} - Lumen${{ matrix.lumen }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: src @@ -78,7 +78,7 @@ jobs: name: P${{ matrix.php }} - Laravel${{ matrix.laravel }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: src diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 8c8f4aa1..d3637303 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -35,7 +35,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2