Skip to content

Commit

Permalink
fix: fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
carsakiller committed May 23, 2024
1 parent e0a376a commit fc3a8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/check-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

CHANGELOG_FILE="changelog.md"

git fetch
git fetch origin $GITHUB_BASE_REF

# 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 fc3a8b2

Please sign in to comment.