Skip to content

Commit b617aec

Browse files
committed
Add comment
1 parent 20a94d7 commit b617aec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/commit_artifacts.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ jobs:
329329
git status
330330
echo "===================="
331331
echo "Checking for changes"
332+
# Check if there are changes in the files other than REVISION or @generated headers
333+
# We also filter out the file name lines with "---" and "+++".
332334
if git diff -- . ':(exclude)*REVISION' | grep -vE "^(@@|diff|index|\-\-\-|\+\+\+|@generated SignedSource)" | grep "^[+-]" > /dev/null; then
333335
echo "Changes detected"
334336
echo "should_commit=true" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)