Merge pull request #34 from Aignosi/release-manualgpr

Enhance Release Workflow with Manual Triggers and Version Input
This commit is contained in:
Italo-ap
2026-01-15 16:55:41 -03:00
committed by GitHub

View File

@@ -5,12 +5,21 @@ on:
types: [closed]
branches:
- main
workflow_dispatch:
inputs:
version:
description: 'Version to release'
required: false
type: string
jobs:
release:
if: github.event.pull_request.merged == true
if: |
(github.event_name == 'pull_request' && github.event.pull_request.merged == true) ||
github.event_name == 'workflow_dispatch'
uses: Aignosi/github_workflow_templates/.github/workflows/dataops-module-release.yml@main
permissions: write-all
with:
project_name: 'laborious'
version: ${{ github.event.inputs.version || '' }}
secrets: inherit