Skip to content

Title - App has a bug #17

Title - App has a bug

Title - App has a bug #17

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