Skip to content

Commit 832c680

Browse files
authored
Merge pull request #376 from wayofdev/develop
2 parents e3af628 + 02ce643 commit 832c680

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+5290
-4361
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ DB_PORT=5432
3737
DB_DATABASE=wod
3838
DB_USERNAME=wod
3939
DB_PASSWORD=password
40+
DB_FORWARD_PORT=5444
4041

4142
CACHE_DRIVER=file
4243
FILESYSTEM_DISK=local

.github/.release-please-config.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"release-type": "php",
3+
"packages": {
4+
".": {
5+
"package-name": "laravel-starter-tpl",
6+
"changelog-path": "/CHANGELOG.md"
7+
}
8+
},
9+
"include-component-in-tag": false,
10+
"changelog-sections": [
11+
{
12+
"type": "feat",
13+
"section": "Features",
14+
"hidden": false
15+
},
16+
{
17+
"type": "fix",
18+
"section": "Bug Fixes",
19+
"hidden": false
20+
},
21+
{
22+
"type": "perf",
23+
"section": "Performance Improvements",
24+
"hidden": false
25+
},
26+
{
27+
"type": "docs",
28+
"section": "Documentation",
29+
"hidden": false
30+
},
31+
{
32+
"type": "deps",
33+
"section": "Dependencies",
34+
"hidden": false
35+
},
36+
{
37+
"type": "refactor",
38+
"section": "Code Refactoring",
39+
"hidden": false
40+
},
41+
{
42+
"type": "test",
43+
"section": "Tests",
44+
"hidden": false
45+
},
46+
{
47+
"type": "ci",
48+
"section": "Continuous Integration",
49+
"hidden": false
50+
},
51+
{
52+
"type": "build",
53+
"section": "Build System",
54+
"hidden": true
55+
},
56+
{
57+
"type": "chore",
58+
"section": "Miscellaneous",
59+
"hidden": true
60+
},
61+
{
62+
"type": "style",
63+
"section": "Styles",
64+
"hidden": true
65+
},
66+
{
67+
"type": "revert",
68+
"section": "Reverts",
69+
"hidden": true
70+
}
71+
]
72+
}

.github/.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.6.0"
3+
}

.github/labeler.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@
33
# this file is for the labeler workflow job
44
# Documentation https://github.com/marketplace/actions/labeler
55

6+
"type: bug":
7+
- head-branch: ['^bug', '^fix', 'bug', 'fix']
8+
9+
"type: enhancement":
10+
- head-branch: ['^feature', '^feat', 'feature']
11+
612
"type: documentation":
7-
- assets/**/*
8-
- .github/*
9-
- ./*.md
13+
- changed-files:
14+
- any-glob-to-any-file: ['assets/**/*', '.github/*', './*.md']
1015

1116
"type: maintenance":
12-
- .github/workflows/*
13-
- app/tests/**/*
17+
- changed-files:
18+
- any-glob-to-any-file: ['app/tests/**/*', '.github/workflows/*']
1419

1520
...

.github/workflows/apply-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ name: 🏷️ Add labels
1414

1515
jobs:
1616
label:
17-
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@master
17+
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@v3.1.0
1818
with:
1919
os: ubuntu-latest
2020
secrets:

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: 📦 Check out the codebase
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: 🛠️ Setup PHP
2929
uses: shivammathur/setup-php@v2
@@ -41,14 +41,14 @@ jobs:
4141
4242
- name: ♻️ Restore cached backend dependencies
4343
id: cached-composer-dependencies
44-
uses: actions/cache@v3
44+
uses: actions/cache@v4
4545
with:
4646
path: vendor
4747
key: vendor-${{ runner.os }}-${{ hashFiles('**/composer.lock') }}-${{ matrix.php }}
4848

4949
- name: ♻️ Restore cached .build directory
5050
id: cached-build-dir
51-
uses: actions/cache@v3
51+
uses: actions/cache@v4
5252
with:
5353
path: .build
5454
key: build-${{ runner.os }}-${{ hashFiles('**/composer.lock') }}-${{ matrix.php }}
@@ -91,7 +91,7 @@ jobs:
9191
XDEBUG_MODE: "coverage"
9292

9393
- name: 📤 Upload coverage results to Codecov.io
94-
uses: codecov/codecov-action@v3
94+
uses: codecov/codecov-action@v4
9595
with:
9696
token: ${{ secrets.CODECOV_TOKEN }}
9797
fail_ci_if_error: true

.github/workflows/create-release.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# https://github.com/wayofdev/gh-actions/blob/master/.github/workflows/create-release.yml
44
# https://github.com/google-github-actions/release-please-action#release-types-supported
5+
# https://github.com/googleapis/release-please/blob/main/docs/customizing.md
56

67
on: # yamllint disable-line rule:truthy
78
push:
@@ -12,12 +13,15 @@ name: 📦 Create release
1213

1314
jobs:
1415
release:
15-
uses: wayofdev/gh-actions/.github/workflows/create-release.yml@master
16-
with:
17-
os: ubuntu-latest
18-
branch: master
19-
package-name: laravel-starter-tpl
20-
secrets:
21-
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: 🎉 Create release
19+
uses: googleapis/release-please-action@v4.1.1
20+
id: release
21+
with:
22+
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
23+
config-file: .github/.release-please-config.json
24+
manifest-file: .github/.release-please-manifest.json
25+
target-branch: master
2226

2327
...

.github/workflows/deploy-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: 📦 Check out the codebase
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 0
2727

@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: ♻️ Restore cached backend dependencies
3737
id: cached-composer-dependencies
38-
uses: actions/cache@v3
38+
uses: actions/cache@v4
3939
with:
4040
path: vendor
4141
key: vendor-${{ runner.os }}-${{ hashFiles('**/composer.lock') }}-${{ matrix.php }}

.github/workflows/deploy-staging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: 📦 Check out the codebase
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 0
2727

@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: ♻️ Restore cached backend dependencies
3737
id: cached-composer-dependencies
38-
uses: actions/cache@v3
38+
uses: actions/cache@v4
3939
with:
4040
path: vendor
4141
key: vendor-${{ runner.os }}-${{ hashFiles('**/composer.lock') }}-${{ matrix.php }}

.github/workflows/sync-from-tpl.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515

1616
steps:
1717
- name: 📦 Check out the codebase
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
with:
2020
token: ${{ secrets.WORKFLOW_TOKEN }}
2121

2222
- name: ♻️ Sync changes from upstream template
23-
uses: AndreasAugustin/actions-template-sync@v0.8.0
23+
uses: AndreasAugustin/actions-template-sync@v2.1.0
2424
with:
2525
github_token: ${{ secrets.WORKFLOW_TOKEN }}
2626
source_repo_path: wayofdev/laravel-starter-tpl

0 commit comments

Comments
 (0)