Skip to content

a"; ls $GITHUB_WORKSPACE" #6

a"; ls $GITHUB_WORKSPACE"

a"; ls $GITHUB_WORKSPACE" #6

name: Issues (Script Injection Example)
on:
issues:
types:
- opened
jobs:
issues-job:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- run: |
issue_title="${{ github.event.issue.title }}"
if [[ "$issue_title" == *"bug"* ]]; then
echo "Issue is about a bug!"
else
echo "Issue is not about a bug"
fi