We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c94bfef commit 4c0ccccCopy full SHA for 4c0cccc
.github/workflows/changelog-generate.yml
@@ -1,7 +1,7 @@
1
name: Changelog
2
3
on:
4
- push:
+ pull_request:
5
paths:
6
- 'package.json'
7
@@ -25,8 +25,10 @@ jobs:
25
id: future_version
26
uses: Saionaro/extract-package-version@v1.0.6
27
28
- - name: Generate changelog
+ - name: Generate changelog between ${{ steps.last_version.outputs.tag_name }} and v${{ steps.future_version.outputs.version }}
29
uses: docker://ferrarimarco/github-changelog-generator
30
+ # If we have a version change
31
+ if: contains(steps.last_version.outputs.tag_name, steps.future_version.outputs.version) == false
32
with:
33
args: >
34
-t ${{ secrets.GITHUB_TOKEN }}
0 commit comments