Commit dc27bd87 authored by tom's avatar tom

release workflow

parent 51c8015c
name: Release
on:
push:
branches:
- tom2drum/issues_945
release:
types: [ released, prereleased ]
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
label_released_issues:
uses: './.github/workflows/label-released-issues.yml'
secrets: inherit
if: ${{ github.event.action == 'released' }}
update_project_cards:
needs: label_released_issues
uses: './.github/workflows/update-project-cards.yml'
with:
project_name: Front-end tasks
field_name: Status
field_value: Released
issues: ${{ needs.label_released_issues.outputs.issues }}
secrets: inherit
if: ${{ github.event.action == 'released' }}
name: Update project cards for issues name: Update project cards for issues
on: on:
pull_request: # pull_request:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
project_name: project_name:
...@@ -21,29 +21,24 @@ on: ...@@ -21,29 +21,24 @@ on:
type: string type: string
issues: issues:
description: JSON encoded list of issue numbers to be updated description: JSON encoded list of issue numbers to be updated
default: '[900,903,899,912]'
required: true required: true
type: string type: string
workflow_call: workflow_call:
inputs: inputs:
project_name: project_name:
description: Name of the project description: Name of the project
default: Front-end tasks
required: true required: true
type: string type: string
field_name: field_name:
description: Field name to be updated description: Field name to be updated
default: Status
required: true required: true
type: string type: string
field_value: field_value:
description: New value of the field description: New value of the field
default: Released
required: true required: true
type: string type: string
issues: issues:
description: JSON encoded list of issue numbers to be updated description: JSON encoded list of issue numbers to be updated
default: '[900,903,899,912]'
required: true required: true
type: string type: string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment