Skip to content

ci: run quality checks on release-please branches - #21

Open
hising wants to merge 5 commits into
mainfrom
fix/release-please-v5
Open

ci: run quality checks on release-please branches#21
hising wants to merge 5 commits into
mainfrom
fix/release-please-v5

Conversation

@hising

@hising hising commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Release-please PRs are created using GITHUB_TOKEN, which GitHub prevents from triggering pull_request workflow events (to avoid infinite loops). This means CI never runs on release PRs, leaving them stuck on "Waiting for status to be reported."

Fix: add release-please--* to the push trigger. When release-please pushes its branch, CI runs and reports a status back to the PR.

🤖 Generated with Claude Code

hising added 2 commits June 2, 2026 22:23
release-please-action was bumped from v4 to v5 by dependabot but the
config was not migrated. v5 requires an explicit 'packages' map instead
of top-level release-type — without it, release-please matches tags to
component '' which doesn't exist in the manifest and processes 0 commits,
producing no Release PRs.
release-please PRs are created with GITHUB_TOKEN which doesn't trigger
pull_request events, so CI never runs on them. Adding the branch pattern
to the push trigger ensures the checks run when release-please pushes
its release branch, and the status will be reported on the PR.
Copilot AI review requested due to automatic review settings June 2, 2026 21:22
- Move npm publish into a second job in release.yml that runs when
  release-please creates a release. The separate publish.yml triggered
  on 'release: published' never fires because GITHUB_TOKEN-created
  releases don't dispatch events to other workflows.
- Add include-component-in-tag: false so tags stay v0.6.1 not ui-v0.6.1.
@hising

hising commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

Also added two more commits to this branch:

  • Inline npm publish into the release workflow (the separate publish.yml on release: published never fires because GITHUB_TOKEN-created releases don't dispatch events to other workflows)
  • Add include-component-in-tag: false so tags are v0.6.1 not ui-v0.6.1

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to ensure the CI “Quality checks” workflow reports statuses for release-please release PRs by running CI on pushes to release-please-managed branches (which are not covered by the pull_request trigger when created with GITHUB_TOKEN). It also restructures the release-please configuration to a packages (manifest-style) layout.

Changes:

  • Extend the CI workflow push trigger to include release-please--* branches.
  • Restructure release-please-config.json to use a packages map for the root package (".").

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
release-please-config.json Moves release-please config into a packages["."] block (manifest-style structure).
.github/workflows/ci.yml Adds release-please--* to the push trigger branch filters to try to get CI statuses on release-please PR head SHAs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
Comment on lines 4 to 6
push:
branches: [main]
branches: [main, "release-please--*"]
pull_request:
Comment on lines +3 to +8
"packages": {
".": {
"release-type": "node",
"include-v-in-tag": true,
"include-component-in-tag": false,
"bump-minor-pre-major": false,
@hising

hising commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

Copilot AI commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Resolved the merge conflict in release-please-config.json — the only conflict was the "include-component-in-tag": false line added by this PR; I kept it and merged in all of main's changes (7f2400b).

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.

3 participants