Skip to content

Update lock release to include 100 items and output numbers #6193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 11, 2025

Conversation

jonrohan
Copy link
Member

@jonrohan jonrohan commented Jun 11, 2025

Couple of updates to the Toggle Lock Release.

Get more items when looking for PRs to merge, and output the PR numbers we found

Copy link

changeset-bot bot commented Jun 11, 2025

⚠️ No Changeset found

Latest commit: 06989ef

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the staff Author is a staff member label Jun 11, 2025
@jonrohan jonrohan added the skip changeset This change does not need a changelog label Jun 11, 2025
@jonrohan jonrohan requested a review from francinelucca June 11, 2025 18:21
@jonrohan jonrohan marked this pull request as ready for review June 11, 2025 18:21
@Copilot Copilot AI review requested due to automatic review settings June 11, 2025 18:21
@jonrohan jonrohan requested a review from a team as a code owner June 11, 2025 18:21
@jonrohan jonrohan enabled auto-merge June 11, 2025 18:22
Copy link
Contributor

@Copilot Copilot AI left a comment

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 enhances the lock-release workflow by expanding the number of PRs fetched and adding logging of the PR numbers before updating branches.

  • Increase the gh pr list limit to 100 items.
  • Echo the list of PR numbers found for visibility.
Comments suppressed due to low confidence (1)

.github/workflows/lock-release.yml:81

  • [nitpick] Consider extracting the 100 limit into a named variable (e.g., MAX_PR_LIST=100) or adding a comment explaining why this specific limit was chosen to improve readability and future maintainability.
PR_NUMBERS=$(gh pr list -L 100 -R primer/react --state open --json number,mergeable,baseRefName,autoMergeRequest -q '.[] | select(.autoMergeRequest != null) | select(.mergeable == "MERGEABLE") | select(.baseRefName == "main") | .number')

Copy link
Contributor

github-actions bot commented Jun 11, 2025

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 94.51 KB (0%)
packages/react/dist/browser.umd.js 94.79 KB (0%)

@github-actions github-actions bot temporarily deployed to storybook-preview-6193 June 11, 2025 18:38 Inactive
@jonrohan jonrohan added this pull request to the merge queue Jun 11, 2025
Merged via the queue into main with commit f5172d0 Jun 11, 2025
35 checks passed
@jonrohan jonrohan deleted the jonrohan-patch-1 branch June 11, 2025 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changeset This change does not need a changelog staff Author is a staff member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants