From 19d2e10affbe7555cd0f170450d7331b34cc8f2f Mon Sep 17 00:00:00 2001 From: Lily Kuang Date: Thu, 15 Apr 2021 08:58:46 -0700 Subject: [PATCH] chore: update RELEASING readme (#14152) * update releasing readme * Update RELEASING/README.md Co-authored-by: Erik Ritter Co-authored-by: Erik Ritter --- RELEASING/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RELEASING/README.md b/RELEASING/README.md index eac5e7fd5..3f5fc291a 100644 --- a/RELEASING/README.md +++ b/RELEASING/README.md @@ -126,6 +126,12 @@ Example: python changelog.py --previous_version 0.37 --current_version 0.38 changelog ``` +You can get a list of pull requests with labels started with blocking, risk, hold, revert and security by using the parameter `--risk`. +Example: +```bash +python changelog.py --previous_version 0.37 --current_version 0.38 changelog --access_token {GITHUB_TOKEN} --risk +``` + The script will checkout both branches and compare all the PR's, copy the output and paste it on the `CHANGELOG.md` Then, in `UPDATING.md`, a file that contains a list of notifications around