Skip to content

Commit 7870226

Browse files
author
vivek.name: "Vivek Reddy
committed
chore: add cleanup for temporary tag message file
Add cleanup step to remove temporary file after tag creation. While GitHub Actions runners are ephemeral, this follows best practices for resource cleanup. Addresses: Copilot review suggestion
1 parent 41ff0e1 commit 7870226

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/create-release-tag.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ EOF
119119
# Create annotated tag
120120
git tag -a "$TAG" -F /tmp/tag_message.txt
121121

122+
# Clean up temporary file
123+
rm -f /tmp/tag_message.txt
124+
122125
echo "✅ Created tag: $TAG"
123126

124127
- name: Push tag to remote

0 commit comments

Comments
 (0)