Skip to content

Commit 86c73b9

Browse files
authored
Labs workflow update cache (#345)
* Add workflow to update labs engine cache after merge * Update comment * Fix workflow git head SHA * Fix workflow git diff exit code 1
1 parent 3a1ffbc commit 86c73b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/labs_update_cache.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: |
2222
BASE=${{ github.event.pull_request.base.sha }}
2323
HEAD=${{ github.event.pull_request.merge_commit_sha }}
24-
git diff --name-only $BASE $HEAD | grep "^communities/[^/]\+/lab" > paths.txt
24+
git diff --name-only $BASE $HEAD | grep "^communities/[^/]\+/lab" > paths.txt || true
2525
echo ""
2626
echo "Changed files:"
2727
cat paths.txt

0 commit comments

Comments
 (0)