fix: Omit check_request params with None values #98
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: Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
- 'v*' | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
./__pypackages__ | |
key: ${{ runner.os }}-python-${{ hashFiles('**/pdm.lock') }} | |
- name: Install dependencies | |
run: ./pw pdm install -G :all | |
- name: Generate | |
run: ./pw generate | |
- name: Format | |
run: ./pw format | |
- name: Generate changelog | |
run: ./pw changelog | |
- name: Check repo status | |
run: |- | |
REPO_STATUS="$(git status --porcelain)" | |
if [[ ! -z $REPO_STATUS ]]; then | |
echo "::error::Uncommitted changes detected" | |
echo "$REPO_STATUS" | |
git status -vv | |
exit 1 | |
fi | |
- name: Test | |
run: ./pw test |