Skip to content

Commit

Permalink
Merge pull request #3521 from edwardspec/test-pull-requests
Browse files Browse the repository at this point in the history
(tests) Warn if description of the pull request has quote symbols
  • Loading branch information
sayterdarkwynd authored Dec 21, 2023
2 parents 6856049 + 4334e26 commit fd5d757
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
- name: RUN -- npm test
run: ( cd tests/travis && npm test )

- name: Check description of pull request
env:
PRDESC: ${{ github.event.pull_request.body }}
run: |
echo "$PRDESC" | grep -qv '"' || ( echo "::error:: Description of Pull Request shouldn't contain quote symbols [\"], please replace them with single quote [']."; false )
# Check Lua files with "luacheck" tool (Lua static analyzer).
luacheck:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit fd5d757

Please sign in to comment.