Skip to content

Commit 0b59edf

Browse files
traskchalin
andauthored
Fix semconv integration branch workflow (#6128)
Co-authored-by: Patrice Chalin <[email protected]>
1 parent 5c00724 commit 0b59edf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/update-semconv-integration-branch.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ jobs:
8686
8787
sed -i "s/^\tsemconv-pin = .*/\tsemconv-pin = $commit_desc/" .gitmodules
8888
89-
if ! git diff-index --quiet HEAD; then
89+
git add -A
90+
91+
if ! git diff-index --quiet --cached HEAD; then
9092
git commit -am "Update semconv submodule to $commit_desc"
9193
git push
9294
fi

0 commit comments

Comments
 (0)