Skip to content

Commit

Permalink
fetch again?
Browse files Browse the repository at this point in the history
  • Loading branch information
carsakiller committed May 23, 2024
1 parent fc3a8b2 commit c026beb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/scripts/check-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set -e
CHANGELOG_FILE="changelog.md"

git fetch origin $GITHUB_BASE_REF
git fetch

# Check if the changelog file was modified in the PR
if git diff --name-only origin/$GITHUB_BASE_REF..$GITHUB_HEAD_REF | grep -q $CHANGELOG_FILE; then
Expand Down

0 comments on commit c026beb

Please sign in to comment.