Mk/release hotfix (#8633)

This commit is contained in:
matt korwel
2025-09-17 11:02:54 -07:00
committed by GitHub
parent 726d2c4274
commit 79e72a94fe
5 changed files with 259 additions and 63 deletions

View File

@@ -35,6 +35,10 @@ inputs:
runs:
using: 'composite'
steps:
- name: 'Print Inputs'
shell: 'bash'
run: 'echo "${{ toJSON(inputs) }}"'
- name: 'Configure Git User'
working-directory: '${{ inputs.working-directory }}'
shell: 'bash'
@@ -142,17 +146,3 @@ runs:
--notes-start-tag "${{ inputs.previous-tag }}" \
--generate-notes
shell: 'bash'
- name: 'Create Issue on Failure'
if: |-
${{ failure() }}
env:
GITHUB_TOKEN: '${{ inputs.github-token }}'
RELEASE_TAG: '${{ inputs.release-tag }} || "N/A"'
DETAILS_URL: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
run: |-
gh issue create \
--title "Release Failed for ${RELEASE_TAG} on $(date +'%Y-%m-%d')" \
--body "The release workflow failed. See the full run for details: ${DETAILS_URL}" \
--label "kind/bug,release-failure,priority/p0"
shell: 'bash'