Skip to content

Commit

Permalink
docs(README): fixes code injection vulnerability in the provided code…
Browse files Browse the repository at this point in the history
…-sample (#109) Thanks @pwntester

Fix code injection vulnerability
  • Loading branch information
pwntester authored Jul 9, 2024
1 parent 118417d commit dec1c86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ jobs:
with:
ref: ${{ steps.refs.outputs.base_ref }}
- name: fast forward merge pr
env:
HEAD_REF: ${{ steps.refs.outputs.head_ref }}
run: |
git fetch
git merge --ff-only origin/${{ steps.refs.outputs.head_ref }}
git merge --ff-only origin/$HEAD_REF
git push
```
Expand Down

0 comments on commit dec1c86

Please sign in to comment.