Skip to content

Commit 0636ace

Browse files
committed
fix the replicator and persistence coverage workflow
1 parent d249784 commit 0636ace

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/docs-replicator-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
mkdir -p resources
5151
(git diff --name-only origin/replicator-coverage-updates src/data/replicator/coverage.json 2>/dev/null || git diff --name-only origin/${{ github.event.inputs.targetBranch || 'master' }} src/data/replicator/coverage.json 2>/dev/null) | tee resources/diff-check.log
5252
echo "diff-count=$(cat resources/diff-check.log | wc -l)" >> $GITHUB_OUTPUT
53-
rm resources/diff-check.log
53+
cat resources/diff-check.log
5454
5555
- name: Create PR
5656
uses: peter-evans/create-pull-request@v7

.github/workflows/update-persistence-coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
mkdir -p resources
4949
(git diff --name-only origin/persistence-auto-updates src/data/persistence/ 2>/dev/null || git diff --name-only origin/${{ github.event.inputs.targetBranch || 'master' }} src/data/persistence/ 2>/dev/null) | tee -a resources/diff-check.log
5050
echo "diff-count=$(cat resources/diff-check.log | wc -l)" >> $GITHUB_OUTPUT
51-
rm resources/diff-check.log
51+
cat resources/diff-check.log
5252
5353
- name: Create PR
5454
uses: peter-evans/create-pull-request@v7
@@ -57,7 +57,7 @@ jobs:
5757
path: docs
5858
title: "Update Persistence Docs"
5959
body: "Updating Persistence Coverage Documentation based on the [Persistence Catalog](https://www.notion.so/localstack/Persistence-Catalog-a9e0e5cb89df4784adb4a1ed377b3c23) on Notion."
60-
branch: "persistence-auto-updates"
60+
branch: "automated-persistence-coverage-updates"
6161
author: "LocalStack Bot <[email protected]>"
6262
committer: "LocalStack Bot <[email protected]>"
6363
commit-message: "update generated persistence docs"

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,7 @@ __pycache__/
2929
*.pyo
3030
*.pyd
3131
*.pyw
32-
*.pyz
32+
*.pyz
33+
34+
# diff check
35+
resources/diff-check.log

0 commit comments

Comments
 (0)