Skip to content

ci(github-actions): add a script to check significant newsfragments - #46007

Merged
Lee-W merged 4 commits into
apache:mainfrom
astronomer:check-newsfragments
Feb 3, 2025
Merged

ci(github-actions): add a script to check significant newsfragments#46007
Lee-W merged 4 commits into
apache:mainfrom
astronomer:check-newsfragments

Conversation

@Lee-W

@Lee-WLee-W commented Jan 24, 2025

Copy link
Copy Markdown
Member

Why

Since #45740, we further formalize the significant newsfragments format but have not yet added a script to check it in CI.

What

A script is added for checking whether the format is correct, allow us to export summarization of these newsfragments and list down undone migration rules


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@Lee-W
Lee-W requested review from ashb and potiuk as code ownersJanuary 24, 2025 07:49
@Lee-WLee-W self-assigned this Jan 24, 2025
@Lee-W
Lee-Wforce-pushed the check-newsfragments branch from 047b0a7 to 21bf3c4CompareJanuary 24, 2025 09:09
Comment threadscripts/tools/significant_newsfragments_checker.py Outdated
@potiuk

Copy link
Copy Markdown
Member

Why not pre-commit ? you will be able to run it locally way before it even hits the CI.

@Lee-W
Lee-Wforce-pushed the check-newsfragments branch from 21bf3c4 to 3eff24dCompareFebruary 3, 2025 06:13
@Lee-W

Lee-W commented Feb 3, 2025

Copy link
Copy Markdown
MemberAuthor

Why not pre-commit ? you will be able to run it locally way before it even hits the CI.

Yep, sounds like a great idea! I just updated it to use pre-commit. Will merge it once the CI pass so that we can ensure the format is correct for future newsfragments.

@Lee-W
Lee-Wforce-pushed the check-newsfragments branch 2 times, most recently from 67aa17f to 637ed20CompareFebruary 3, 2025 06:44
@Lee-W
Lee-Wforce-pushed the check-newsfragments branch 2 times, most recently from 17ea46c to 0ee5f07CompareFebruary 3, 2025 08:36
@Lee-W
Lee-Wforce-pushed the check-newsfragments branch from 0ee5f07 to 9db8814CompareFebruary 3, 2025 09:11
@Lee-W

Lee-W commented Feb 3, 2025

Copy link
Copy Markdown
MemberAuthor

as the ci failure has nothing to do with it and will be fixed by #46368. I'll go ahead and merge this PR

@Lee-W
Lee-W merged commit c60e139 into apache:mainFeb 3, 2025
@Lee-W
Lee-W deleted the check-newsfragments branch February 3, 2025 11:02
dabla pushed a commit to dabla/airflow that referenced this pull request Feb 3, 2025
…pache#46007)
* ci(github-acitons): add script to check significant newsfragments
* docs(newsfragments): fix incorrect format
* docs(newsfragments): upgrade api-66.significant format
* ci(pre-commit): add x mod to significant_newsfragments_checker.py
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 4, 2025
…pache#46007)
* ci(github-acitons): add script to check significant newsfragments
* docs(newsfragments): fix incorrect format
* docs(newsfragments): upgrade api-66.significant format
* ci(pre-commit): add x mod to significant_newsfragments_checker.py
niklasr22 pushed a commit to niklasr22/airflow that referenced this pull request Feb 8, 2025
…pache#46007)
* ci(github-acitons): add script to check significant newsfragments
* docs(newsfragments): fix incorrect format
* docs(newsfragments): upgrade api-66.significant format
* ci(pre-commit): add x mod to significant_newsfragments_checker.py
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 17, 2025
…pache#46007)
* ci(github-acitons): add script to check significant newsfragments
* docs(newsfragments): fix incorrect format
* docs(newsfragments): upgrade api-66.significant format
* ci(pre-commit): add x mod to significant_newsfragments_checker.py
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@Lee-W@potiuk@vincbeck