Skip to content
Success

Changes

Summary

  1. chore(scripts): add release ref script and analyze approvals script (commit: c54866c) (details)
Commit c54866c51713461bb4f1e5ab91238f05be88e371 by noreply
chore(scripts): add release ref script and analyze approvals script (#3503)

This pull request introduces two significant changes: the addition of a
script to automate the collection of release issue information and a
script to analyze approvals for changes to specific files in
repositories. These changes aim to streamline release management and
approval tracking processes.

### Release Management Automation:
* Added `collect-info-for-release-issue.sh` to generate release-related
information, including repository tags, release links, and diffs between
the current and previous releases. This script simplifies the process of
preparing release issues by automating the collection of relevant data.

### Approval Analysis Automation:
* Added `analysis-approvals-for-changes-of-files.ts` to analyze file
changes in repositories and identify associated pull requests and their
approvers. It uses the Octokit library to interact with GitHub APIs for
retrieving commits, pull requests, and approval comments, and outputs a
report summarizing the findings.

### Usage

#### for the `collect-info-for-release-issue.sh`

1. update the repo and version vars before run.
2. run with `collect-info-for-release-issue.sh`, then get the output.

#### for the `analysis-approvals-for-changes-of-files.ts`

`GITHUB_TOKEN=<your-github-token> deno run
analysis-approvals-for-changes-of-files.ts`
(commit: c54866c)
The file was addedscripts/flow/ga/collect-info-for-release-issue.sh
The file was addedscripts/ops/analysis-approvals-for-changes-of-files.ts