You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/actions/run-git-cliff-commands/action.yml
+31-6Lines changed: 31 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,13 @@ inputs:
19
19
20
20
Blank/whitespace-only lines are ignored; leading/trailing whitespace on each line is trimmed.
21
21
required: true
22
-
cliff-config:
23
-
description: "Path to the cliff.toml config file"
22
+
scopes:
23
+
description: "Regex alternation of conventional-commit scopes to gate on, injected into the shared template (e.g. 'coordinator' or 'linea-besu|tracer|sequencer|deps|misc')"
24
+
required: true
25
+
cliff-template:
26
+
description: "Path to the shared git-cliff template containing the @@SCOPES@@ placeholder"
24
27
required: false
25
-
default: "cliff.toml"
28
+
default: "cliff.template.toml"
26
29
release_tag_suffix:
27
30
description: "Custom release tag suffix, i.e. release tag would be releases/[component]/v[semver]-[suffix]"
28
31
required: false
@@ -70,13 +73,35 @@ runs:
70
73
echo '__PATHS_EOF__'
71
74
} >> "$GITHUB_OUTPUT"
72
75
76
+
# Render the shared cliff template into a temp config with the caller's
77
+
# scopes injected into the @@SCOPES@@ placeholder. git-cliff can't inject
78
+
# scopes into commit_parsers itself, so we substitute at run time and point
79
+
# every git cliff invocation below at the rendered file.
80
+
- name: Render git-cliff config with injected scopes
Copy file name to clipboardExpand all lines: .github/workflows/reusable-component-gh-release.yml
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,10 @@ on:
21
21
description: 'newline-separated string to represent the "git-cliff --include-path filter"'
22
22
required: true
23
23
type: string
24
+
scopes:
25
+
description: "Regex alternation of conventional-commit scopes to gate on (e.g. 'coordinator' or 'linea-besu|tracer|sequencer|deps|misc')"
26
+
required: true
27
+
type: string
24
28
image_tag_suffix:
25
29
description: 'Custom docker image tag suffix, i.e. docker image tag would be [semver]-[YYYYMMDD]-[commit]-[suffix], if not given, would be [semver]-[YYYYMMDD]-[commit]'
0 commit comments