fix: show error message instead of throw during Purchase Invoice name validation (backport #2864) #3401
Workflow file for this run
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: Documentation Required | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened, edited ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: 'Setup Environment' | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- uses: actions/checkout@v4 | |
- name: Validate Docs | |
env: | |
PR_NUMBER: ${{ github.event.number }} | |
run: | | |
pip install requests --quiet | |
python $GITHUB_WORKSPACE/.github/helper/documentation.py $PR_NUMBER |