ci: Ignore bundle commits on sync action (#26662)

This commit is contained in:
Matsu 2026-03-06 12:45:16 +02:00 committed by GitHub
parent 6f2f384f39
commit b134e10325
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,8 +43,8 @@ jobs:
run: |
git fetch https://github.com/n8n-io/n8n.git master:public-master
# Check if private is ahead of public
AHEAD_COUNT=$(git rev-list public-master..HEAD --count)
# Check if private is ahead of public, ignore Bundle commits
AHEAD_COUNT=$(git rev-list public-master..HEAD --pretty=oneline --grep="chore: Bundle" --invert-grep --count)
if [ "$AHEAD_COUNT" -gt 0 ]; then
if [ "${{ github.event_name }}" = "schedule" ]; then