mirror of
https://github.com/apache/airflow.git
synced 2026-11-04 07:12:48 +00:00
Only get changelog for core commits (#27900)
This commit is contained in:
1 parent
eba04d7c40
commit
bad875b58d
1 file changed
+4
-1
+4
-1
@@ -300,7 +300,10 @@ def changelog(previous_version, target_version, github_token):
|
||||
if tickets:
|
||||
issue = gh_repo.get_issue(number=int(tickets[0][1:]))
|
||||
issue_type = get_issue_type(issue)
|
||||
sections[issue_type].append(commit["subject"])
|
||||
files = files_touched(repo, commit["id"])
|
||||
if is_core_commit(files):
|
||||
sections[issue_type].append(commit["subject"])
|
||||
|
||||
else:
|
||||
sections[DEFAULT_SECTION_NAME].append(commit["subject"])
|
||||
|
||||
|
||||
Reference in new issue
Block a user