Skip to content

Commit 11f4907

Browse files
committed
ci: set tag tag_format default to vX.Y.Z
1 parent 03dcb08 commit 11f4907

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release-changelog.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99
type: string
1010
description: "Branch to update CHANGELOG from"
1111
tag_format:
12-
required: true
12+
required: false
13+
default: 'vX.Y.Z'
1314
type: string
1415
description: "Repository tag format (e.g., vX.Y.Z or X.Y.Z)"
1516
release_tag:

docs/release-changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ clouddrove/github-shared-workflows/.github/workflows/release-changelog.yml@v2
2222
| Name | Required | Type | Description |
2323
|--------------|----------|--------|-------------|
2424
| `branch` | ✅ Yes | string | Target branch where CHANGELOG.md will be committed |
25-
| `tag_format` | ✅ Yes | string | Repository tag format (`vX.Y.Z` or `X.Y.Z`) |
25+
| `tag_format` | ❌ No | string | Repository tag format (`vX.Y.Z` or `X.Y.Z`) default : vX.Y.Z |
2626
| `release_tag`| ✅ Yes | string | Actual release tag to validate |
2727

2828
---
@@ -97,7 +97,7 @@ jobs:
9797
uses: clouddrove/github-shared-workflows/.github/workflows/release-changelog.yml@v2
9898
with:
9999
branch: master
100-
tag_format: vX.Y.Z
100+
tag_format: vX.Y.Z //Repository tag format (`vX.Y.Z` or `X.Y.Z`) default : vX.Y.Z
101101
release_tag: ${{ github.ref_name }}
102102
secrets:
103103
GITHUB: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)