Skip to content

Commit b747997

Browse files
Snowflake coverage fix (#154)
Co-authored-by: Quetzalli <hola@quetzalliwrites.com>
1 parent 8b1e689 commit b747997

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/update-snowflake-feature-coverage.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,27 @@ jobs:
4040
mv coverage-features.md src/content/docs/snowflake/features/index.md
4141
mv coverage-functions.md src/content/docs/snowflake/sql-functions.md
4242
43+
- name: Check for changes
44+
id: check-for-changes
45+
working-directory: localstack-docs
46+
run: |
47+
git add .
48+
if git diff --staged --quiet; then
49+
echo "diff-count=0" >> $GITHUB_OUTPUT
50+
else
51+
echo "diff-count=1" >> $GITHUB_OUTPUT
52+
fi
53+
4354
- name: Create PR
4455
uses: peter-evans/create-pull-request@v7
4556
if: ${{ success() && steps.check-for-changes.outputs.diff-count != '0' && steps.check-for-changes.outputs.diff-count != '' }}
4657
with:
47-
path: src
58+
path: localstack-docs
4859
title: "Update function coverage documentation"
4960
body: "Automated update of snowflake feature coverage docs"
5061
branch: "snowflake-feature-coverage-updates"
5162
author: "LocalStack Bot <localstack-bot@users.noreply.github.com>"
5263
committer: "LocalStack Bot <localstack-bot@users.noreply.github.com>"
5364
commit-message: "automated update of snowflake feature coverage docs"
5465
token: ${{ secrets.PRO_ACCESS_TOKEN }}
55-
reviewers: hovaesco, harshcasper
66+
reviewers: hovaesco, quetzalliwrites

0 commit comments

Comments
 (0)