bugfix: skip error parsing for 2xx responses on rejected promises #342
Workflow file for this run
This file contains hidden or 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: Model Change Scan | |
| on: | |
| pull_request: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify-no-models-changes: | |
| runs-on: ubuntu-latest | |
| name: Check for model changes | |
| steps: | |
| - name: Checkout codebase | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - run: | | |
| BASE_REPO="${GITHUB_EVENT_PULL_REQUEST_BASE_REPO_CLONE_URL}" | |
| git fetch $BASE_REPO master:master -q | |
| CHANGED_FILES=$(git diff --name-only FETCH_HEAD...HEAD -- src/data/) | |
| if [ ! -z "$CHANGED_FILES" ]; then | |
| echo "Changes detected in the following models:" | |
| echo "$CHANGED_FILES" | |
| exit 1 | |
| fi | |
| env: | |
| GITHUB_EVENT_PULL_REQUEST_BASE_REPO_CLONE_URL: ${{ github.event.pull_request.base.repo.clone_url }} |