From 71f0ce37f179025281cf020ed987fa038570bd44 Mon Sep 17 00:00:00 2001 From: Ragdata Date: Sat, 27 Jul 2024 12:04:23 +1000 Subject: [PATCH] feat: Add Release Manager Caller --- .github/workflows/release-manager.yml | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/release-manager.yml diff --git a/.github/workflows/release-manager.yml b/.github/workflows/release-manager.yml new file mode 100644 index 0000000..736aedd --- /dev/null +++ b/.github/workflows/release-manager.yml @@ -0,0 +1,38 @@ +#################################################################### +# release-manager.yml +#################################################################### +# Ragdata's Release Manager Caller Workflow +# +# File: release-manager.yml +# Version: 1.0 +# Author: Ragdata +# Date: 27/07/2024 +# License: MIT License +# Copyright: Copyright © 2024 Redeyed Technologies +#################################################################### +name: Ragdata's 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 (patch/minor/major)" + required: false + type: string + +jobs: + + call_reusable_workflow: + permissions: + contents: write + uses: ragdata/reusable-workflows/.github/workflows/release-manager.yml@master + with: + version: ${{ inputs.version }} + type: ${{ inputs.type }} + secrets: + token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}