Skip to content

Commit

Permalink
Checkout base branch to resolve codeigniter4/framework
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Dec 12, 2024
1 parent ae20571 commit 5f5b927
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/reusable-coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
runs-on: ubuntu-22.04

steps:
- name: Checkout base branch for PR
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

- name: Checkout
uses: actions/checkout@v4

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/reusable-phpunit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ jobs:
sudo apt-get install -y gsfonts libmagickwand-dev imagemagick
sudo apt-get install --fix-broken
- name: Checkout base branch for PR
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

- name: Checkout
uses: actions/checkout@v4

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/reusable-serviceless-phpunit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ jobs:
sudo apt-get install -y imagemagick
sudo apt-get install --fix-broken
- name: Checkout base branch for PR
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

- name: Checkout
uses: actions/checkout@v4

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-autoreview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
name: Check normalized composer.json
runs-on: ubuntu-latest
steps:
- name: Checkout base branch for PR
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

- name: Checkout
uses: actions/checkout@v4

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ jobs:
- '8.3'

steps:
- name: Checkout base branch for PR
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

- name: Checkout
uses: actions/checkout@v4

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-deptrac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
name: Architectural Inspection
runs-on: ubuntu-22.04
steps:
- name: Checkout base branch for PR
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

- name: Checkout
uses: actions/checkout@v4

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
strategy:
fail-fast: false
steps:
- name: Checkout base branch for PR
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

- name: Checkout
uses: actions/checkout@v4

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
if: (! contains(github.event.head_commit.message, '[ci skip]'))

steps:
- name: Checkout base branch for PR
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

- name: Checkout
uses: actions/checkout@v4

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-rector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
matrix:
php-versions: ['8.1', '8.3']
steps:
- name: Checkout base branch for PR
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

- name: Checkout
uses: actions/checkout@v4

Expand Down

0 comments on commit 5f5b927

Please sign in to comment.