-
-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (58 loc) · 1.87 KB
/
release-manager.call-local.yml
File metadata and controls
62 lines (58 loc) · 1.87 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
####################################################################
# release-manager.call-local.yml
####################################################################
# Ragdata's Release Manager Local Caller Workflow
#
# File: release-manager.call-local.yml
# Version: 1.0
# Author: Ragdata
# Date: 27/07/2024
# License: MIT License
# Copyright: Copyright © 2024 Redeyed Technologies
####################################################################
name: Release Manager
on:
# Allows for manual triggering via the Actions tab
workflow_dispatch:
inputs:
version:
description: "Release Version"
required: false
type: string
type:
description: "Bump Type"
required: false
type: choice
options:
- auto
- version
- patch
- minor
- major
branch:
description: "Branch to create release from"
required: false
type: string
pre_release:
description: "Pre-release?"
required: false
type: boolean
default: false
draft:
description: "Draft release?"
required: false
type: boolean
default: true
jobs:
call_reusable_workflow:
permissions:
contents: write
uses: ./.github/workflows/release-manager.yml
with:
version: ${{ inputs.version }}
type: ${{ inputs.type }}
branch: ${{ inputs.branch }}
pre_release: ${{ inputs.pre_release }}
draft: ${{ inputs.draft }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}