Skip to content

Commit

Permalink
ci(check): Look for changes in changelogs dir
Browse files Browse the repository at this point in the history
This will avoid failure of the CI when releasing a new version.
  • Loading branch information
rrey committed Jul 17, 2022
1 parent 8fb1f56 commit b89e13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hacking/check_fragment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ EOF
exit 1
}

FRAGMENTS=$(git fetch && git diff --name-only --diff-filter=ACMRT origin/main..HEAD | grep "changelogs/fragments")
FRAGMENTS=$(git fetch && git diff --name-only --diff-filter=ACMRT origin/main..HEAD | grep "changelogs")
[ -z "$FRAGMENTS" ] && fail
exit 0

0 comments on commit b89e13f

Please sign in to comment.