Rename preview link generator action - #721
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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-reporterNode/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-generatorREADME with newops-build-reporterdocumentation 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The scope of the action has increased from just preview links.