--replace flag, check if bidsmreye output has been produced already and skip processing of files that already have data [ENH] #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: issues | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
add-comment: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: main | |
- name: Install FAQtory | |
run: pip install FAQtory | |
- name: Run Suggest | |
run: faqtory suggest "${{ github.event.issue.title }}" > suggest.md | |
- name: Read suggest.md | |
id: suggest | |
uses: juliangruber/read-file-action@v1 | |
with: | |
path: ./suggest.md | |
- name: Suggest FAQ | |
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa | |
with: | |
issue-number: ${{ github.event.issue.number }} | |
body: ${{ steps.suggest.outputs.content }} |