Skip to content

Run CI codestyle fixes on PRs rather than master #1634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/fix-cs.yml
Original file line number Diff line number Diff line change
@@ -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 <laravel-debugbar@users.noreply.github.com>
4 changes: 2 additions & 2 deletions .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -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
Loading
Oops, something went wrong.