Skip to content

Update test-discussion-bot.yaml #2

Update test-discussion-bot.yaml

Update test-discussion-bot.yaml #2

# Test for the Discussion Bot
name: Test-Discussion-Bot
# Trigger on changes of the discussion-bot folder
on:
push
paths:

Check failure on line 8 in .github/workflows/test-discussion-bot.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-discussion-bot.yaml

Invalid workflow file

You have an error in your yaml syntax on line 8
- discussion-bot
permissions:
contents: read
issues: write
pull-requests: write
discussions: write
jobs:
bot-response:
runs-on: ubuntu-24.04
steps:
- name: setup
run: |
pip install markdown
- name: Check out the repository to the runner
uses: actions/checkout@v4
- name: Test discussion-responder for the prepared discussions
run: |
cd discussion-bot/test
python test.py
- name: Upload Test report
uses: actions/upload-artifact@v4
with:
name: "Discussion-Bot_test-report"
path: ./report.html