Skip to content

Commit f8bd14b

Browse files
committedSep 12, 2024
ci: update release-please
1 parent cae4a42 commit f8bd14b

File tree

5 files changed

+90
-14
lines changed

5 files changed

+90
-14
lines changed
 

‎.github/.release-please-config.json

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

‎.github/.release-please-manifest.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.4.1"
3+
}

‎.github/workflows/auto-merge-release.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
on: # yamllint disable-line rule:truthy
66
pull_request:
7+
branches:
8+
- master
79

810
permissions:
911
pull-requests: write
@@ -13,7 +15,7 @@ name: 🤞 Auto merge release
1315

1416
jobs:
1517
auto-merge:
16-
uses: wayofdev/gh-actions/.github/workflows/auto-merge-release.yml@master
18+
uses: wayofdev/gh-actions/.github/workflows/auto-merge-release.yml@v3.2.0
1719
with:
1820
os: ubuntu-latest
1921
pull-request-number: ${{ github.event.pull_request.number }}

‎.github/workflows/create-release.yml

+11-7
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: docker-nginx
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.3
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
...

‎package.json

-6
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.