Skip to content

Commit

Permalink
add: logging
Browse files Browse the repository at this point in the history
  • Loading branch information
carsakiller committed May 23, 2024
1 parent c026beb commit d57084e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/scripts/check-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ set -e

CHANGELOG_FILE="changelog.md"


git fetch origin $GITHUB_BASE_REF
git fetch
git fetch --unshallow

echo $(git remote)
echo $(git branch)

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

Please sign in to comment.