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
chainloop_release_url="## Chainloop Attestation"$'\n'"[View the attestation of this release](https://app.chainloop.dev/attestation/${{ needs.finish_attestation.outputs.attestation_hash }})"
185
-
current_notes=$(gh release view ${{inputs.tag}} --json body -q '.body')
190
+
current_notes=$(gh release view ${{github.ref_name}} --json body -q '.body')
186
191
187
192
if echo "$current_notes" | grep -q "## Chainloop Attestation"; then
188
193
# Replace the existing Chainloop Attestation section with the new URL
@@ -193,4 +198,4 @@ jobs:
193
198
fi
194
199
195
200
# Update the release notes and ignore if it fails since we might be lacking permissions to update the release notes
196
-
gh release edit ${{inputs.tag}} -n "$modified_notes" || echo -n "Not enough permissions to edit the release notes. Skipping..."
201
+
gh release edit ${{github.ref_name}} -n "$modified_notes" || echo -n "Not enough permissions to edit the release notes. Skipping..."
0 commit comments