Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Update upstream-sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iomekam authored Aug 27, 2024
1 parent 82f4a61 commit 660bfda
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/upstream-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ jobs:
git diff --quiet upstream/main upstream/main -- . ':(exclude).github/workflows' || echo "CHANGES_DETECTED=false" >> $GITHUB_ENV
fi
- name: Check for differences between local and upstream branch, excluding .github/workflows
if: env.HAS_UPSTREAM == 'true' && env.HAS_SYNC_BRANCH == 'true'
run: |
git fetch upstream
git diff --quiet origin/${{ env.UPSTREAM_SYNC_BRANCH_NAME }} upstream/main -- . ':(exclude).github/workflows' || echo "CHANGES_DETECTED=true" >> $GITHUB_ENV
- name: Fetch all branches from the upstream repository
if: env.HAS_UPSTREAM == 'true' && env.HAS_SYNC_BRANCH == 'true' && env.CHANGES_DETECTED == 'true'
run: git fetch upstream
Expand Down

0 comments on commit 660bfda

Please sign in to comment.