mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Sanitise issue titles before running suggest on them
Applying https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable to #1472.
This commit is contained in:
4
.github/workflows/new_issue.yml
vendored
4
.github/workflows/new_issue.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user