Skip to content
name: Check submitted NVDA add-on test
on:
push
jobs:
createReviewComment:
# jq for windows has issues parsing multiline strings (e.g. CRLF),
# use linux instead.
runs-on: ubuntu-latest
needs: [getAddonId, mergeToMaster]
strategy:
matrix:
python-version: [ 3.11 ]
permissions:
contents: write
discussions: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Get repository ID
id: get-repo-id
uses: nvdaes/get-repository-id
- name: Create discussion for add-on id
id: createDiscussion
uses: abirismyname/[email protected]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
repository-id: "${{ steps.get-repo-id.outputs.repo-id }}"
category-id: "DIC_kwDODeDxhs4CZ6Q6"
title: Reviews for ${{ steps.getAddonNameAndVersion.outputs.addonName }} (${{ needs.getAddonId.outputs.addonId }})
body: |
Community add-on reviews for ${{ steps.getAddonNameAndVersion.outputs.addonName }}.
Please use threaded replies and avoid email responses.
You can specify the add-on version and other info that you consider relevant in your comment.
Reviews should abide by the [NVDA code of conduct](https://github.com/nvaccess/nvda/blob/master/CODE_OF_CONDUCT.md).