File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,13 @@ jobs:
124124 run : |
125125 python3 scripts/create_cfn_coverage_table.py --cfn-json target/iac-catalog-assets/cfn_resources.json
126126
127+ - name : Print CFN docs page diff (test)
128+ working-directory : docs
129+ run : |
130+ echo "Showing changes for src/content/docs/aws/services/cloudformation.mdx"
131+ git status --porcelain -- src/content/docs/aws/services/cloudformation.mdx || true
132+ git --no-pager diff --unified=0 -- src/content/docs/aws/services/cloudformation.mdx || true
133+
127134 - name : Check for changes
128135 id : check-for-changes
129136 working-directory : docs
@@ -132,7 +139,8 @@ jobs:
132139 # Check against the PR branch if it exists, otherwise against the main
133140 # Store the result in resources/diff-check.log and store the diff count in the GitHub Action output "diff-count"
134141 mkdir -p resources
135- (git diff --name-only origin/parity-coverage-auto-updates data/coverage/ 2>/dev/null || git diff --name-only origin/${{ github.event.inputs.targetBranch || 'main' }} src/data/coverage/ 2>/dev/null) | tee -a resources/diff-check.log
142+ FILES_TO_CHECK="src/data/coverage/ src/content/docs/aws/services/cloudformation.mdx"
143+ (git diff --name-only origin/parity-coverage-auto-updates $FILES_TO_CHECK 2>/dev/null || git diff --name-only origin/${{ github.event.inputs.targetBranch || 'main' }} $FILES_TO_CHECK 2>/dev/null) | tee -a resources/diff-check.log
136144 echo "diff-count=$(cat resources/diff-check.log | wc -l)" >> $GITHUB_OUTPUT
137145
138146 - name : Read PR markdown template
You can’t perform that action at this time.
0 commit comments