Skip to content

Commit bdc39a2

Browse files
committed
actions: use env to avoid shell injection
1 parent caa957f commit bdc39a2

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/buildwheel.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,8 @@ jobs:
476476
- name: Create GitHub release
477477
env:
478478
GH_TOKEN: ${{ github.token }}
479-
run: >
480-
gh release create ${{ github.ref_name }} dist/*
481-
--title "python-flint ${{ github.ref_name }}"
482-
--notes "https://github.com/flintlib/python-flint?tab=readme-ov-file#changelog"
479+
REF_NAME: ${{ github.ref_name }}
480+
run: |
481+
gh release create "$REF_NAME" dist/* \
482+
--title "python-flint $REF_NAME" \
483+
--notes "https://github.com/flintlib/python-flint?tab=readme-ov-file#changelog"

0 commit comments

Comments
 (0)