You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If the name is cas.cyclonedx.json, controlplane.cyclonedx.json or cli.cyclonedx.json, we need to add the attestation with the correct name
@@ -83,7 +84,7 @@ jobs:
83
84
if: ${{ success() }}
84
85
run: |
85
86
chainloop_release_url="## Chainloop Attestation"$'\n'"[View the attestation of this release](https://app.chainloop.dev/attestation/${{ steps.attestation-push.outputs.attestation_sha }})"
86
-
current_notes=$(gh release view ${{inputs.tag}} --json body -q '.body')
87
+
current_notes=$(gh release view "$INPUT_TAG" --json body -q '.body')
87
88
88
89
if echo "$current_notes" | grep -q "## Chainloop Attestation"; then
89
90
# Replace the existing Chainloop Attestation section with the new URL
@@ -94,4 +95,4 @@ jobs:
94
95
fi
95
96
96
97
# Update the release notes and ignore if it fails since we might be lacking permissions to update the release notes
97
-
gh release edit ${{inputs.tag}} -n "$modified_notes" || echo -n "Not enough permissions to edit the release notes. Skipping..."
98
+
gh release edit "$INPUT_TAG" -n "$modified_notes" || echo -n "Not enough permissions to edit the release notes. Skipping..."
0 commit comments