Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Fix workflow inputs context for push events

rcourtmanf55863cf0259
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml
index e8515a4ce4..86293f9b25 100644
--- a/.github/workflows/create-release.yml
+++ b/.github/workflows/create-release.yml
@@ -31,7 +31,7 @@ jobs:
TAG="${GITHUB_REF#refs/tags/}"
VERSION="${TAG#v}"
else
- VERSION="${{ inputs.version }}"
+ VERSION="${{ github.event.inputs.version }}"
TAG="v${VERSION}"
fi
echo "tag=${TAG}" >> $GITHUB_OUTPUT
@@ -323,7 +323,7 @@ jobs:
- name: Prepare release notes
id: generate_notes
env:
- RELEASE_NOTES_INPUT: ${{ inputs.release_notes }}
+ RELEASE_NOTES_INPUT: ${{ github.event.inputs.release_notes || '' }}
run: |
VERSION="${{ needs.extract_version.outputs.version }}"