## What this PR does Use GitHub Copilot CLI for automatic changelog generation on tagged releases. ### How it works When a new version tag is pushed, the `generate-changelog` job in `tags.yaml`: 1. Checks out the `main` branch with full history and tags 2. Verifies that a changelog file doesn't already exist in `docs/changelogs/` 3. Installs GitHub Copilot CLI (`@github/copilot` npm package) 4. Runs Copilot CLI in non-interactive mode (`-p` flag) with `--allow-all-tools --allow-all-paths` to generate the changelog following the instructions in `docs/agents/changelog.md` 5. Commits the generated file to a `changelog-vX.Y.Z` branch and opens a PR to `main` ### Authentication - `COPILOT_GITHUB_TOKEN` secret — fine-grained PAT with **"Copilot Requests: Read"** account permission, used to authenticate Copilot CLI - `GH_PAT` secret — used by `gh` CLI inside the Copilot session to query PR authors via GitHub API ### Release note ```release-note [ci] Replaced Gemini with GitHub Copilot CLI for automatic changelog generation on release tags ``` |
||
|---|---|---|
| .. | ||
| ISSUE_TEMPLATE | ||
| workflows | ||
| CODEOWNERS | ||
| PULL_REQUEST_TEMPLATE.md | ||