Skip to content

Commit 6b70bd3

Browse files
authored
Merge pull request #3783 from ikemen-engine/fix3
refactor: mugenversion and ikemenversion type and syntax
2 parents 9e60999 + 329624f commit 6b70bd3

15 files changed

Lines changed: 334 additions & 242 deletions

.github/workflows/conventional-label.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
on:
22
pull_request_target:
3-
branches: [ develop, release ]
3+
branches: [ develop, 'release/**' ]
44
types: [ opened, edited, reopened, synchronize ]
55

6-
permissions: write-all
6+
permissions:
7+
contents: read
8+
issues: write
9+
pull-requests: write
710

811
name: conventional-release-labels
912
jobs:
@@ -17,7 +20,7 @@ jobs:
1720
token: '${{ secrets.GITHUB_TOKEN }}'
1821
type_labels: >-
1922
{"build": "PR: build",
20-
"fix": "PR: chore",
23+
"chore": "PR: chore"
2124
"breaking": "PR: breaking",
2225
"docs": "PR: docs",
2326
"feat": "PR: feat",

.github/workflows/conventional-title.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
on:
22
pull_request_target:
3-
branches: [ develop, release ]
3+
branches: [ develop, 'release/**' ]
44
types: [ opened, edited, reopened, synchronize ]
55

6-
permissions: write-all
6+
permissions:
7+
contents: read
8+
pull-requests: write
79

810
name: conventional-title
911
jobs:
@@ -15,7 +17,7 @@ jobs:
1517
- uses: morrisoncole/pr-lint-action@v1.7.1
1618
with:
1719
repo-token: "${{ secrets.GITHUB_TOKEN }}"
18-
title-regex: "^(\\bbuild|chore|docs|feat|fix|other|perf|refactor|style|test\\b\\(?[^\\)]*\\)?: .+|v?[0-9]+\\.[0-9]+\\.[0-9]+|Revert .+)"
20+
title-regex: "^(?:(?:build|chore|docs|feat|fix|other|perf|refactor|style|test)(?:\\([^()]+\\))?: .+|v?[0-9]+\\.[0-9]+\\.[0-9]+(?:-rc\\.[1-9][0-9]*)?|Revert .+)$"
1921
on-failed-regex-fail-action: true
2022
on-failed-regex-create-review: true
2123
on-failed-regex-request-changes: false
@@ -26,6 +28,7 @@ jobs:
2628
The expected PR title formatting is: `<type>(<scope>): <description>`
2729
where `(<scope>)` declaration is optional and `<type>` must be one of the following:
2830
- build: Changes that affect the build system, external dependencies, CI configuration
31+
- chore: Routine maintenance that does not change engine behavior
2932
- docs: Documentation only changes
3033
- feat: A new feature
3134
- fix: A bug fix

.github/workflows/lint-code-style.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
on:
22
workflow_dispatch:
33
push:
4-
branches: [ develop, release ]
4+
branches: [ develop, 'release/**' ]
55
#pull_request_target:
6-
# branches: [ develop, release ]
6+
# branches: [ develop, 'release/**' ]
77

8-
permissions: write-all
8+
permissions:
9+
checks: write
10+
contents: write
911

1012
name: lint-code-style
1113
jobs:

0 commit comments

Comments
 (0)