Skip to content

Remove pkg-pr-new publish step from workflow#9

Draft
chris-han with Copilot wants to merge 3 commits into
copilot/review-build-successfrom
copilot/fix-pkg-pr-new-installation
Draft

Remove pkg-pr-new publish step from workflow#9
chris-han with Copilot wants to merge 3 commits into
copilot/review-build-successfrom
copilot/fix-pkg-pr-new-installation

Conversation

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown

The pkg-pr-new workflow was failing with exit code 1 when the GitHub app is not installed on the repository (404 response).

Changes

  • Removed the Publish pkg-pr-new preview step entirely from the workflow
  • The workflow now only builds packages without attempting to publish
# Before
- name: Build
  run: pnpm run build:packages

- name: Publish pkg-pr-new preview
  continue-on-error: true
  run: npx pkg-pr-new publish "./packages/v1/*" "./packages/v2/*"

# After  
- name: Build
  run: pnpm run build:packages

This resolves the CI failure by not attempting to use the pkg-pr-new app which is not installed on the repository.

Original prompt

引用: https://github.com/chris-han/CopilotKit/actions/runs/21988130682/job/63527788312#step:8:1

2026-02-13T13:20:02.2845484Z ##[group]Run npx pkg-pr-new publish "./packages/v1/" "./packages/v2/"
2026-02-13T13:20:02.2845990Z �[36;1mnpx pkg-pr-new publish "./packages/v1/" "./packages/v2/"�[0m
2026-02-13T13:20:02.2895894Z shell: /usr/bin/bash -e {0}
2026-02-13T13:20:02.2896134Z env:
2026-02-13T13:20:02.2896366Z PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2026-02-13T13:20:02.2896662Z ##[endgroup]
2026-02-13T13:20:14.3971879Z npm warn exec The following package was not found and will be installed: pkg-pr-new@0.0.63
2026-02-13T13:20:17.0505250Z Check failed (404): {"url":"/check","statusCode":404,"statusMessage":"Not Found","message":"The app https://github.com/apps/pkg-pr-new is not installed on chris-han/CopilotKit.","stack":""}
2026-02-13T13:20:17.1680838Z ##[error]Process completed with exit code 1.
fix it


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: chris-han <2083175+chris-han@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix pkg-pr-new installation issue during publish Fix pkg-pr-new workflow failure when app not installed Feb 13, 2026
Copilot AI requested a review from chris-han February 13, 2026 13:34

@chris-han chris-han left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

skip publish, just build

Co-authored-by: chris-han <2083175+chris-han@users.noreply.github.com>

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Author

skip publish, just build

Removed the publish step. The workflow now only builds packages. (6a20f4f)

Copilot AI changed the title Fix pkg-pr-new workflow failure when app not installed Remove pkg-pr-new publish step from workflow Feb 13, 2026
Copilot AI requested a review from chris-han February 13, 2026 13:44
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