Skip to content

Commit

Permalink
Merge pull request #1500 from davep/faqtory-xkcd-327
Browse files Browse the repository at this point in the history
Sanitise issue titles before running suggest on them
  • Loading branch information
willmcgugan authored Jan 6, 2023
2 parents 83ce120 + 01e6ae4 commit 8ea2eae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/new_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
- name: Install FAQtory
run: pip install FAQtory
- name: Run Suggest
run: faqtory suggest "${{ github.event.issue.title }}" > suggest.md
env:
TITLE: ${{ github.event.issue.title }}
run: faqtory suggest "$TITLE" > suggest.md
- name: Read suggest.md
id: suggest
uses: juliangruber/read-file-action@v1
Expand Down

0 comments on commit 8ea2eae

Please sign in to comment.