Skip to content

Commit 01c768d

Browse files
committed
ci: add missing github release workflow files
1 parent f5766bb commit 01c768d

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Create a Github Release
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
fromTag:
7+
description: "The latest tag"
8+
type: string
9+
required: false
10+
toTag:
11+
description: "The previous/older tag"
12+
type: string
13+
required: false
14+
formatForSlack:
15+
description: "Optionally output text formatted as slack markdown"
16+
type: boolean
17+
required: false
18+
includeBreaking:
19+
description: "Allow to optionally exclude breaking changes from the changelog"
20+
type: boolean
21+
required: false
22+
excludeTypes:
23+
description: "Allow to optionally exclude more types from the changelog"
24+
type: string
25+
required: false
26+
outputs:
27+
changelog:
28+
description: "The changelog text generated by the changelog-action"
29+
value: ${{ jobs.run-create-github-release-action.outputs.changelog }}
30+
changelogForSlack:
31+
description: "The changelog text generated by the changelog-action but formatted for slack markdown"
32+
value: ${{ jobs.run-create-github-release-action.outputs.changelogForSlack }}
33+
workflow_dispatch:
34+
inputs:
35+
fromTag:
36+
description: "The latest tag"
37+
type: string
38+
required: false
39+
toTag:
40+
description: "The previous/older tag"
41+
type: string
42+
required: false
43+
44+
jobs:
45+
run-create-github-release-action:
46+
uses: x-b-e/internal_shared/.github/workflows/shared-create-github-release.yml@main
47+
permissions:
48+
contents: write
49+
packages: read
50+
issues: read
51+
pull-requests: read
52+
repository-projects: read
53+
with:
54+
fromTag: ${{ inputs.fromTag }}
55+
toTag: ${{ inputs.toTag }}
56+
formatForSlack: ${{ inputs.formatForSlack }}
57+
includeBreaking: ${{ inputs.includeBreaking }}
58+
excludeTypes: ${{ inputs.excludeTypes }}

0 commit comments

Comments
 (0)