mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-16 06:27:58 +00:00
invert the git status check
This commit is contained in:
parent
f3b446f434
commit
343d569b76
2 changed files with 2 additions and 2 deletions
2
.github/workflows/integration-tests.yml
vendored
2
.github/workflows/integration-tests.yml
vendored
|
@ -128,7 +128,7 @@ jobs:
|
|||
|
||||
- name: Commit and push recordings
|
||||
run: |
|
||||
if ! git status --porcelain tests/integration/recordings/ | grep -q .; then
|
||||
if [[ -n $(git status --porcelain tests/integration/recordings/) ]]; then
|
||||
echo "New recordings detected, committing and pushing"
|
||||
git add tests/integration/recordings/
|
||||
git commit -m "Update recordings"
|
||||
|
|
|
@ -112,7 +112,7 @@ jobs:
|
|||
git status --porcelain tests/integration/recordings/
|
||||
git status
|
||||
|
||||
if ! git status --porcelain tests/integration/recordings/ | grep -q .; then
|
||||
if [[ -n $(git status --porcelain tests/integration/recordings/) ]]; then
|
||||
echo "New recordings detected, committing and pushing"
|
||||
git add tests/integration/recordings/
|
||||
git commit -m "Update recordings"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue