Skip to content
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

[GitHub] Update _pullRequest.yml #30

Merged
merged 1 commit into from
Dec 3, 2024
Merged
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
22 changes: 7 additions & 15 deletions .github/workflows/_pullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,36 +35,28 @@ jobs:
repository: ${{ github.repository }}
token: ${{ secrets.GITHUB_TOKEN }}

Rector:
CodeStyle:
needs: GitStatusCheck
name: Rector
name: CodeStyle
if: needs.GitStatusCheck.outputs.shouldRun == 'true'
runs-on: ubuntu-latest
steps:
- name: Rector
uses: EncoreDigitalGroup/ci-workflows/actions/php/rector@v2
- name: CodeStyle
uses: EncoreDigitalGroup/ci-workflows/actions/php/codeStyle@v2
with:
branch: "${{ github.ref }}"
branch: "${{ github.head_ref }}"
repository: "${{ github.repository }}"

Duster:
needs: Rector
name: Duster
uses: EncoreDigitalGroup/ci-workflows/.github/workflows/php_dusterFix.yml@v2
permissions:
contents: write
pull-requests: write

StaticAnalysis:
needs: Duster
needs: CodeStyle
name: StaticAnalysis
uses: EncoreDigitalGroup/ci-workflows/.github/workflows/php_larastan.yml@v2
with:
path: 'src/'
branch: ${{ github.head_ref }}

Test:
needs: Duster
needs: CodeStyle
name: Test
uses: EncoreDigitalGroup/ci-workflows/.github/workflows/php_pest.yml@v2
with:
Expand Down
Loading