Skip to content

Rename preview link generator action - #721

Merged
gewarren merged 3 commits into
dotnet:mainfrom
gewarren:rename-action
Aug 26, 2026
Merged

Rename preview link generator action#721
gewarren merged 3 commits into
dotnet:mainfrom
gewarren:rename-action

Conversation

@gewarren

Copy link
Copy Markdown
Collaborator

The scope of the action has increased from just preview links.

Copilot AI lite review requested due to automatic review settings August 25, 2026 23:05
@gewarren
gewarren requested a review from a team as a code owner August 25, 2026 23:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request renames and expands the former preview-link generator GitHub Action into an “OPS Build Reporter” action, intended to update PR bodies with both preview links and a build report link, with optional check-run annotations for build diagnostics.

Changes:

  • Introduces a new actions/ops-build-reporter Node/TypeScript action implementation (including PR body update logic and optional annotations).
  • Adds testing + linting/tooling config for the new action (Jest, ESLint, Prettier ignore, TS config).
  • Replaces the old preview-link-generator README with new ops-build-reporter documentation and metadata updates.

Reviewed changes

Copilot reviewed 4 out of 22 changed files in this pull request and generated no comments.

Show a summary per file
File Description
actions/preview-link-generator/README.md Removes documentation for the old action name/location.
actions/ops-build-reporter/tsconfig.json Adds TypeScript compiler configuration for the new action.
actions/ops-build-reporter/src/types/WorkflowInput.ts Adds typed accessors for action inputs.
actions/ops-build-reporter/src/types/PullRequestDetails.ts Adds GraphQL response typing for PR details used in updates.
actions/ops-build-reporter/src/pull-updater.ts Implements core behavior: wait for OPS check, parse report, update PR body, annotate diagnostics.
actions/ops-build-reporter/src/main.ts Adds the action entrypoint wiring inputs to the updater.
actions/ops-build-reporter/README.md Documents the new action name, purpose, and usage.
actions/ops-build-reporter/package.json Renames package metadata and updates description to match expanded scope.
actions/ops-build-reporter/jest.config.js Adds Jest configuration for unit tests.
actions/ops-build-reporter/dist/sourcemap-register.js Adds generated distribution artifact for runtime/debugging.
actions/ops-build-reporter/dist/licenses.txt Adds third-party license bundle for the distributed action.
actions/ops-build-reporter/action.yml Renames the action and updates/organizes inputs metadata.
actions/ops-build-reporter/.prettierignore Excludes generated/build output from formatting.
actions/ops-build-reporter/.gitignore Adds standard Node/TS ignores for the action folder.
actions/ops-build-reporter/.gitattributes Marks dist output as generated to reduce diff noise.
actions/ops-build-reporter/.eslintrc.json Adds ESLint rules/config for TypeScript sources and tests.
actions/ops-build-reporter/.eslintignore Excludes generated/build output and config files from ESLint.
actions/ops-build-reporter/tests/pull-updater.test.ts Adds unit tests for table building/parsing and diagnostics filtering.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@gewarren
gewarren merged commit 7f2940e into dotnet:main Aug 26, 2026
9 checks passed
@gewarren
gewarren deleted the rename-action branch August 26, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants