Skip to content

Commit 4b0c698

Browse files
authored
docs: Improve CI documentation
1 parent 816e9bd commit 4b0c698

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ jobs:
4242
working-directory: ./OpenActive.DatasetSite.NET/
4343

4444
- name: git stash if material changes have not been made
45+
# When considering whether it's worth making a PR, ignore the following:
46+
# - The dataset-site-template version number updating within the template in DatasetSiteMustacheTemplate.cs (affects one line)
47+
# - 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)
48+
# git stashing if no material changes allows the next step to close the PR if one is already open
4549
run: if [ "$(git diff --numstat | grep -vc '^1.*DatasetSiteMustacheTemplate.cs\|.*package\.json\|.*package-lock\.json$')" -eq "0" ]; then git stash; else echo "Material changes found"; fi
4650
working-directory: ./
4751

0 commit comments

Comments
 (0)