Files
Tianqi Chen 5427e3c2de [CI] Remove stale GitHub automation (#19946)
Retire GitHub automation that is disabled, non-functional, unowned, or
explicitly no longer wanted, together with its orphaned support code and
tests.

This removes the optional Dependabot version-update config; automatic
team mentions and cc-review requests; last-successful and nightly branch
advancement; reviewer pings; the disabled PR-comment bot; and the unused
CI-resource upload path. Active CI, release, tvm-bot, and manual
Docker-update workflows remain, with narrower permissions and event
guards, plus refreshed issue-template and network-resource guidance.

The behavior change is intentional: reviewer requests and team routing
become manual, and the nightly and last-successful branches are no
longer advanced by this repository. Dependabot security updates remain
controlled by repository settings.
2026-07-04 22:21:10 -07:00
..
2026-02-19 00:52:30 +08:00

These scripts can be helpful when creating release notes and testing release packages.

Create release notes

# example: create a csv file of all PRs since the v0.8 and v0.9.0 releases
# the result will be in 2 CSV files based on the --threshold arg (small PRs vs large PRs)
export GITHUB_TOKEN=<github oauth token>
python release/gather_prs.py --from-commit $(git rev-parse v0.9.0) --to-commit $(git merge-base origin/main v0.8.0)

After running the commands above, you will get a csv file named out_pr_gathered.csv. You can then import this CSV into a collaborative spreadsheet editor to distribute the work of categorizing PRs for the notes, especially check the pr_title_tags column for each row and correct it if it's wrong.

Once done, you can download the csv file assuming with name out_pr_gathered_corrected.csv and convert it to readable release notes using commands below:

# example: use a csv of tags-corrected PRs to create a markdown file

# Export monthly report on forum:
python make_notes.py --notes out_pr_gathered_corrected.csv --is-pr-with-link true > monthly_report.md

# Export release report on GitHub:
python make_notes.py --notes out_pr_gathered_corrected.csv --is-pr-with-link true > release_report.md

# If release report exported but forget set `--is-pr-with-link true`,
# you can append arg `--convert-with-link true`.
python3 make_notes.py --notes ./release_report.md --convert-with-link true

You can also create a list of RFCs

git clone https://github.com/apache/tvm-rfcs.git

# example: list RFCs since a specific commit in the tvm-rfcs repo
python list_rfcs.py --since-commit <hash> --rfcs-repo ./tvm-rfcs > rfc.md

Finally, combine rfc.md and out.md along with some prose to create the final release notes.

Test release packages

After uploading release (candidate) packages to apache.org or GitHub release page, you can validate packages step-by-step from downloading, verification and compiling use script below, but don't forget edit the version and rc number in script.

test_release_package.sh