-
Notifications
You must be signed in to change notification settings - Fork 1
58 lines (50 loc) · 1.66 KB
/
_pullRequest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Pull Request
on:
pull_request_target:
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
GitStatusCheck:
name: GitStatusCheck
uses: EncoreDigitalGroup/ci-workflows/.github/workflows/php_gitStatusCheck.yml@main
with:
branch: ${{ github.event.repository.default_branch }}
FormatTitle:
name: FormatTitle
uses: EncoreDigitalGroup/ci-workflows/.github/workflows/formatPullRequestTitle.yml@v1
with:
branch: ${{ github.head_ref }}
pullRequestNumber: ${{ github.event.number }}
repository: ${{ github.repository }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
Duster:
name: Duster
needs: GitStatusCheck
if: needs.GitStatusCheck.outputs.shouldRun == 'true'
uses: EncoreDigitalGroup/ci-workflows/.github/workflows/dusterFixBlame.yml@v1
permissions:
contents: write
pull-requests: write
StaticAnalysis:
needs: Duster
name: StaticAnalysis
uses: EncoreDigitalGroup/ci-workflows/.github/workflows/larastan.yml@v1
with:
phpVersion: '8.3'
path: 'src/'
branch: ${{ github.head_ref }}
Test:
needs: Duster
name: Test
uses: EncoreDigitalGroup/ci-workflows/.github/workflows/pest.yml@v1
with:
phpVersion: '8.3'
branch: ${{ github.head_ref }}
enforceCoverage: true
AutoMerge:
needs: [ StaticAnalysis, Test ]
name: AutoMerge
uses: EncoreDigitalGroup/ci-workflows/.github/workflows/dependabotAutoMerge.yml@v1