This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (46 loc) · 1.7 KB
/
_release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
################################################################################
# DO NOT EDIT THIS FILE (Auto-Generated) #
# Contents of this file were generated by the central configuration repository #
# Changes to this file may be overwritten. #
################################################################################
name: ~Lib / Release
on:
workflow_call:
inputs:
draft:
required: false
description: Defines if the release is a draft (not published directly). Defaults to true
default: true
type: boolean
prerelease:
required: false
description: Defines if the release to create is a prerelease. Defaults to false
default: false
type: boolean
targetBranch:
required: false
description: The target branch for the release being created
default: main
type: string
taskPrefix:
required: false
description: The prefix that identifies task ids in the commits
default: JIR-
type: string
templatePath:
required: false
description: The path within the .github/ folder for the release drafter configuration
default: workflows/configs/managed/release-wizard.md
type: string
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Create Github release
uses: darioblanco/[email protected]
with:
draft: ${{ inputs.draft }}
prerelease: ${{ inputs.prerelease }}
taskPrefix: ${{ inputs.taskPrefix }}
token: ${{ secrets.REPO_ACCESS_TOKEN_OPEN_SOURCE }}
templatePath: ${{ inputs.templatePath }}