diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000000..04325be245 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: Confirm documentation has been reviewed. +on: + pull_request: + paths: + - docs/developer-docs/ +jobs: + docscheck: + name: Check PR comments. + runs-on: ubuntu-latest + steps: + - name: Find comment. + uses: peter-evans/find-comment@v3 + with: + body-includes: I agree that I have run the commands and code included in this PR and have confirmed their accuracy and functionality. + - name: Comment on PR. + run: | + echo ${{ steps.fc.outputs.comment-id }} + echo ${{ steps.fc.outputs.comment-node-id }} + echo ${{ steps.fc.outputs.comment-body }} + echo ${{ steps.fc.outputs.comment-author }} + echo ${{ steps.fc.outputs.comment-created-at }}