diff --git a/.github/workflows/gitflow.yml b/.github/workflows/gitflow.yml index 6ebaf7b..b3fa352 100644 --- a/.github/workflows/gitflow.yml +++ b/.github/workflows/gitflow.yml @@ -215,7 +215,7 @@ jobs: && (echo 'warning=changelog-not-modified' >> $GITHUB_OUTPUT; exit 0) \ || (echo 'failure=changelog-not-contains-unreleased' >> $GITHUB_OUTPUT; exit 1) git diff --name-only ${{ env.DESTINATION_COMMIT }} \ - | grep --perl-regexp 'changelog\.md' \ + | grep --fixed-strings '${{ env.CHANGELOG }}' \ || (echo 'warning=changelog-not-modified' >> $GITHUB_OUTPUT; exit 0) - name: If fail on check feature branch diff --git a/changelog.md b/changelog.md index 4da271e..4ea185e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,10 @@ +## 2.2.3 + +- fix: solve issue that CHANGELOG input is not used on everywhere + ## 2.2.2 -- document: add Unreleased to changelog.md +- feature: add Unreleased to changelog if necessary ## 2.2.1