Skip to content

Commit

Permalink
[TASK] Improve publish workflow
Browse files Browse the repository at this point in the history
* replace backticks from release description to avoid command execution in shell
  • Loading branch information
thommyhh committed Jul 14, 2021
1 parent 1520faa commit 5072ca7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ jobs:
- name: Get comment
id: get-comment
run: |
comment="${{ github.event.release.body }}"
comment='${{ github.event.release.body }}'
comment="${comment//'%'/'%25'}"
comment="${comment//'`'/''}"
comment="${comment//$'\n'/'%0A'}"
comment="${comment//$'\r'/'%0D'}"
Expand Down

0 comments on commit 5072ca7

Please sign in to comment.