File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,10 +135,19 @@ jobs:
135135 pull : ' --rebase --autostash'
136136 github-token : ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
137137
138+ - name : Generate release notes
139+ uses : orhun/git-cliff-action@3d96a18cc4ec17e9dc69ddcc424ccafaf1f78ce2 # v4
140+ id : git-cliff-latest
141+ with :
142+ config : cliff.toml
143+ args : --latest --strip all --ignore-tags="(py|cli)-*" --include-path="./impit-node/**" --include-path="./impit/**"
144+ env :
145+ GITHUB_REPO : ${{ github.repository }}
146+
138147 - name : Create release
139148 uses : softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3
140149 with :
141150 tag_name : " js-${{ needs.publish.outputs.new_version }}"
142151 name : " impit-node@${{ needs.publish.outputs.new_version }}"
143152 target_commitish : ${{ needs.publish.outputs.bumped-version-commit-sha }}
144- body : ${{ steps.git-cliff.outputs.content }}
153+ body : ${{ steps.git-cliff-latest .outputs.content }}
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ jobs:
115115 needs : [publish, get_version]
116116 runs-on : ubuntu-latest
117117 outputs :
118- release_body : ${{ steps.git-cliff.outputs.content }}
118+ release_body : ${{ steps.git-cliff-latest .outputs.content }}
119119 steps :
120120 - name : Checkout
121121 uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
@@ -143,11 +143,20 @@ jobs:
143143 pull : ' --rebase --autostash'
144144 github-token : ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
145145
146+ - name : Generate release notes
147+ uses : orhun/git-cliff-action@3d96a18cc4ec17e9dc69ddcc424ccafaf1f78ce2 # v4
148+ id : git-cliff-latest
149+ with :
150+ config : cliff.toml
151+ args : --latest --strip all --ignore-tags="(js|cli)-*" --include-path="./impit-python/**" --include-path="./impit/**"
152+ env :
153+ GITHUB_REPO : ${{ github.repository }}
154+
146155 - name : Create release
147156 uses : softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3
148157 with :
149158 tag_name : " py-${{ needs.get_version.outputs.new_version }}"
150159 name : " impit-python@${{ needs.get_version.outputs.new_version }}"
151160 target_commitish : ${{ needs.get_version.outputs.bumped-version-commit-sha }}
152- body : ${{ steps.git-cliff.outputs.content }}
161+ body : ${{ steps.git-cliff-latest .outputs.content }}
153162
You can’t perform that action at this time.
0 commit comments