Skip to content

Commit

Permalink
Generate changelog on the latest PR for develop
Browse files Browse the repository at this point in the history
  • Loading branch information
luongvo committed Nov 3, 2023
1 parent d8f4b93 commit ed72ebc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/android_deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
id: head
run: echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT

- name: Limit changelog to the latest pull request only
uses: jossef/action-set-json-field@v2
with:
file: .github/workflows/changelog-config.json
field: max_pull_requests
value: 1

- name: Build changelog on "develop"
id: changelog
uses: mikepenz/release-changelog-builder-action@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/changelog-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@
"type : release"
]
}
]
],
"max_pull_requests": 200
}

0 comments on commit ed72ebc

Please sign in to comment.