Skip to content

remove unnecessary job #51

remove unnecessary job

remove unnecessary job #51

Workflow file for this run

name: Tagging
on:
push:
branches:
- main
workflow_dispatch:
inputs:
tag:
description: Custom tag to be applied
required: false
default: null
type: string
permissions:
contents: write
id-token: write
concurrency:
group: prod
cancel-in-progress: false
jobs:
calculate-tag:
name: Calculate tag
if: inputs.tag == null
uses: ./.github/workflows/tag-tool.yml
with:
tag-prefix: v
dry-run: true
apply-tag:
name: Apply tag
needs: calculate-tag
if: always()
uses: ./.github/workflows/tag-tool.yml
with:
environment: tagging
custom-tag: ${{ inputs.tag == null && needs.calculate-tag.outputs.tag || inputs.tag }}
changelog:
name: Show changelog
runs-on: ubuntu-22.04
needs: apply-tag
steps:
- name: Print changelog
run: |
echo ${{ needs.apply-tag.outputs.changelog }}