Skip to content

Commit 9b37cc5

Browse files
authored
Fix CI
1 parent 67dce91 commit 9b37cc5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/create-data-model-pr.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ jobs:
4646
# - The dataset-site-template version number updating within the template in DatasetSiteMustacheTemplate.cs (affects one line)
4747
# - Any updates to the package.json or package-lock.json files in OpenActive.DatasetSite.NET.Generator (not worth creating a PR JUST for these if the new version did not have any implications)
4848
# git stashing if no material changes allows the next step to close the PR if one is already open
49-
run: |
50-
git diff --numstat | grep -v '^1\t.*DatasetSiteMustacheTemplate\.cs\|.*package\.json\|.*package-lock\.json$'
51-
if [ "$(git diff --numstat | grep -vc '^1\t.*DatasetSiteMustacheTemplate\.cs\|.*package\.json\|.*package-lock\.json$')" -eq "0" ]; then git stash; else echo "Material changes found"; fi
49+
run: if [ "$(git diff --numstat | grep -vc '^1\s.*DatasetSiteMustacheTemplate\.cs\|.*package\.json\|.*package-lock\.json$')" -eq "0" ]; then git stash; else echo "Material changes found"; fi
5250
working-directory: ./
5351

5452
- name: Create Pull Request

0 commit comments

Comments
 (0)