Skip to content

Commit fa2cb9a

Browse files
committed
Fix template-injection in Check steps
Made-with: Cursor
1 parent 01e584b commit fa2cb9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@ jobs:
6666
regex: false
6767

6868
- name: Check Update changelog was modified
69+
env:
70+
MODIFIED_FILES: ${{ steps.update_changelog.outputs.modifiedFiles }}
6971
run: |
70-
if [ "${{ steps.update_changelog.outputs.modifiedFiles }}" = "0" ]; then
72+
if [ "$MODIFIED_FILES" = "0" ]; then
7173
echo "Error: No files were modified when updating changelog"
7274
exit 1
7375
fi

0 commit comments

Comments
 (0)