Skip to content

App has a bug

App has a bug #5

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