Skip to content

Commit

Permalink
chore: generate changelogs using tj-actions/git-cliff (#1069)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Apr 4, 2023
1 parent 5e2d64b commit 6e426e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/sync-release-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ jobs:
only_major: true
paths: |
README.md
- name: Generate CHANGELOG
uses: tj-actions/github-changelog-generator@v1.18
with:
output: 'HISTORY.md'
- name: Run git-cliff
uses: tj-actions/git-cliff@v1
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4.2.4
with:
Expand Down
6 changes: 0 additions & 6 deletions diff-sha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -260,14 +260,8 @@ else
if git merge-base "$PREVIOUS_SHA" "$CURRENT_SHA" 1>/dev/null 2>&1; then
break
fi

echo "::debug::Merge base is not in the local history, fetching remote target branch again..."
echo "::debug::Attempt $i/10"

if [[ $i -eq 10 ]]; then
echo "::error::Unable to find the merge base between $PREVIOUS_SHA and $CURRENT_SHA"
exit 1
fi
done
fi
fi
Expand Down

0 comments on commit 6e426e6

Please sign in to comment.