mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-04 20:05:51 +00:00
fix: Use ytanikin/pr-conventional-commits action for conventional com… (#2049)
…mits check There are 2 actions with almost the same name from the same author: - https://github.com/ytanikin/PRConventionalCommits: the one we use, not updated for 7 months - https://github.com/ytanikin/pr-conventional-commits: seems to be more recent, has more stars and releases I've merged this change to my develop branch in my fork and created a PR on to test it works: https://github.com/mathbunnyru/clio/pull/3 I will update the upstream issue and suggest author to archive the old action: https://github.com/ytanikin/pr-conventional-commits/issues/19
This commit is contained in:
10
.github/workflows/check_pr_title.yml
vendored
10
.github/workflows/check_pr_title.yml
vendored
@@ -1,4 +1,5 @@
|
|||||||
name: Check PR title
|
name: Check PR title
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, edited, reopened, synchronize]
|
types: [opened, edited, reopened, synchronize]
|
||||||
@@ -7,12 +8,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
check_title:
|
check_title:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# permissions:
|
|
||||||
# pull-requests: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: ytanikin/PRConventionalCommits@b628c5a234cc32513014b7bfdd1e47b532124d98 #v1.3.0
|
- uses: ytanikin/pr-conventional-commits@8267db1bacc237419f9ed0228bb9d94e94271a1d #v1.4.1
|
||||||
with:
|
with:
|
||||||
task_types: '["build","feat","fix","docs","test","ci","style","refactor","perf","chore"]'
|
task_types: '["build","feat","fix","docs","test","ci","style","refactor","perf","chore"]'
|
||||||
add_label: false
|
add_label: true
|
||||||
# Turned off labelling because it leads to an error, see https://github.com/ytanikin/PRConventionalCommits/issues/19
|
custom_labels: '{"build":"build", "feat":"enhancement", "fix":"bug", "docs":"documentation", "test":"testability", "ci":"ci", "style":"refactoring", "refactor":"refactoring", "perf":"performance", "chore":"tooling"}'
|
||||||
# custom_labels: '{"build":"build", "feat":"enhancement", "fix":"bug", "docs":"documentation", "test":"testability", "ci":"ci", "style":"refactoring", "refactor":"refactoring", "perf":"performance", "chore":"tooling"}'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user